There is multiple ways how to get current timestamp in Python.
If you want to get timestamp in Python, you may use functions from modules time, datetime, or calendar.
(more…)
Read more »
Welcome to my personal website and blog, here you can find some information about me, contact, social media links as well as
my blog posts... (more…)
Read more »
This Python eats Exceptions Python like any other modern language has exception management. But I ran into an interesting edge case that stumped me quite a bit before I realized well python is different.
Let me explain with an example.
1 2 3 4 5 6 7 8 9 1... (more…)
Read more »
The problemLet's say you have more than one version of Python installed on your machine. What version does python3 point to? If you said, "the newest version", you may actually be wrong. That's because python3 points at the last version of Python you inst... (more…)
Read more »
The article is the third one of the Build the Forest in Python Series. In the previous article, Binary Tree Traversal, we talked about the binary tree traversals using recursive approach and auxiliary stack. This article will build one variant of the Bina... (more…)
Read more »