排序
Multiple inheritance and MRO in python
Multiple inheritance and MRO in python, Introduction Let's first talk about the word inheritance, oxford dictionary defines it as something from the past or from your family that a...
How I Decreased API Response Time by 89.30% in Python
How I Decreased API Response Time by 89.30% in Python, Make your APIs faster API response time is an important factor to look for if you want to build fast and scalable application...
The Random Library in Python
The Random Library in Python,You might need your program to choose a random lucky winner from a list of people participating in a lottery or maybe you want to chooses a random frui...
How to migrate Python 2 projects to 3 & some useful tips
How to migrate Python 2 projects to 3 & some useful tips,Python 2.7 came to end of life in January 2020 and even before that lot of software migrations to Python 3 have been happen...
Get a Music Artist’s Spotify ID…Programmatically!
Get a Music Artist's Spotify ID...Programmatically!,A long-time student of mine and I have been exploring the world of music through the lens of code lately. She is in-between seme...
Trying secrets (Python) to Generate Password
Trying secrets (Python) to Generate Password, How strong is it? In my spare time, I want to explore more about Cyber Security. This time I will try how good secrets module. I use s...
Python: using heapq module to find n largest items
Python: using heapq module to find n largest items,Today, I'm going to tell about using the heapq module. As you probably know, the easiest way to find the largest element in a col...
How to find an impostor binary search implementation in Python! :-)
How to find an impostor binary search implementation in Python! :-),Recently I have been working on writing STL algorithms of C++ in Python (here). I came across a typical problem,...
Change the Python3 default Version in Ubuntu
Change the Python3 default Version in Ubuntu,By default python on mostly ubuntu, there is python 2. We need to use python3 to run the python files with the latest version. After re...
Build a phone number tracker app in Python
Build a phone number tracker app in Python,Hello guys, Today I’m going to share with you how to build a simple Desktop application to track the country through the phone number. I...
Does Python has a main function?
Does Python has a main function?, What is the main method? If you're familiar with languages like C, C++ etc you may have noticed the fact that we must need to use the main() metho...
Postgress SELECT/INSERT in Python without any external libs
Postgress SELECT/INSERT in Python without any external libs,It is possible to query Postgress (9.3+) from python without any external libs (psycopg2): import subprocess import json...