Let’s see how to handle unit conversion in Python. I’m taking cm to inch conversion as an example.
How to create wheel?
Let’s have more fun and see how to create a wheel with Python. We will use the Turtle module.
Numerical solution of first-order differential equations
Numerical solution of first-order differential equations with Python and Tkinter today for you. I wanted to share that with you.

Read More “Numerical solution of first-order differential equations” »
Tkinter GUI with side menu
I am creating a Tkinter GUI with a side menu today. Something more difficult with elements of object-oriented programming. Let’s see how to implement this code.
Tkinter GUI with countdown
Today I prepared something interesting. It is a GUI with countdown. See how does it work and try to analyze the code. Next modify it to gain new skills.
Frequency and percentage of given letter in the text
I know of one more wonderful way to play with text using Python. It is a good way to learn the Python language. We will calculate a percentage in a python. The exact task is to count the frequency of a given letter in the text.
Read More “Frequency and percentage of given letter in the text” »
The easiest Python game
Let’s write a game. It would be the easist possible Python game. Try to guess the number between 1 and 10. The quicker you guess the better the score will be. See how to write such code.
Tkinter GUI with button and event
This is the article where you can find the basic code for you to develop. It is the basic Tkinter GUI with a button and an assigned event.
GUI with autogenerated triangles
I’ve created fine tkinter script which generates random triangles. And of course I am sharing that with you.
Archive a bunch of files using os module
Suppose you have many text files. Your task is to archive those with a maximum of 500 characters. Let’s write code that will create a new directory. I use os module for that.
Python code to draw cos(x) using matplotlib
Let’s draw again. This time we will use a matplotlib and numpy to get python cos(x) graph.
Calculate age from date of birth in Python
Let’s calculate your age. And specifically, years, months, and days. Here’s how:
How to connect to database and print the sum of costs using sqlite3 module?
Here’s how to prepare a simple SQL query using sqlite3 module. The code is following:
Read More “How to connect to database and print the sum of costs using sqlite3 module?” »
How to check status of the website?
Using Python you can check a status of the website with a very simple trick. Just check the response of it.
Printing simple matrix using random module
New easy trick today. Let’s see how to print simple matrix using Python random module.