Writing string into a matrix seems like a non-interesting and somehow trivial task. Anyway, manipulating with matrices and strings in Python is actually somehow interesting, thus I have decided to present a small algorithmic challenge.  The task is pretty much …

Python – How to write string into a matrix. Printing a matrix. Read more →

Working with Pandas is like working with Excel on steroids – it can really do a lot of things fast, but somehow doing the easy things get complicated. In this video and article tutorial I am presenting loading data to …

Python – Plotting DataFrame and Working with Pandas – Video Read more →

AlessandroMolina

After writing about hashing passwords in Python, I have decided to publish the other parts of the chapter, “Cryptography” from the “Modern Python Standard Library Cookbook“, written by Alessandro Molina and and kindly provided to me by PacktPublishing.In the article, …

Cryptography in Python Read more →

About 4 years ago, I wrote an article about prime numbers in Excel and their visualisation with VBA – vba-function-in-excel-to-check-prime-numbers. Pretty much, it displays the prime numbers in a 10 x N matrix, starting from 1 and finishing at N: …

Prime numbers matrix and coloring with Python and xlsxwriter Read more →

Showing all links from a website with Python and BeautifulSoup is actually 6 lines of code – 2 to define the used libraries and 4 to do the job: import urllib.request from bs4 import BeautifulSoup resp = urllib.request.urlopen(“https://www.vitoshacademy.com”) soup = …

Show all links from a website with Python and BeautifulSoup – Video Read more →

This article will show you how to solve the CartPole balancing problem. The CartPole is an inverted pendulum, where the pole is balanced against gravity. Traditionally, this problem is solved by control theory, using analytical equations. However, in this article, you’lllearn to solve the …

Python – Balancing CartPole with Machine Learning Read more →

AlessandroMolina

Learn how passwords can be stored without a risk of leaking them in this tutorial by Alessandro Molina, a Python developer since 2001 and currently the core developer of the TurboGears2 web framework and maintainer of Beaker Caching/Session framework.While cryptography is …

Hashing Passwords in Python Read more →