As the world of technology continues to advance, it becomes evident that the ability to manipulate, create, and manage digital spaces is of utmost importance. Python programming language is among the most powerful tools capable of such feats. This exciting exploration commences with an introduction to Python, providing essential knowledge […]
Retrieve All Files in a Directory using Python
In our digitally driven world, where data processing and management are integral to many industries, the ability to work with Python has become an invaluable skill. This language, particularly in relation to file and directory manipulation, grapples with the rapid growth of data and its intricate handling. With its intuitive […]
Convert Python to Exe – Easy Compile in 2 Mins
Convert Python to Exe file using this compiler module with these simple steps. It takes roughly 2 mins to compile a Py to Exe with PyInstaller
Regular Expressions – I
A regular expression (shortened as regex) is an extremely useful way of matching common patterns and texts such as emails, phone numbers, URLs etc. almost all programming languages have a regular expressions library. It is widely used in text editors also to find patterns and replace string patterns that we specify in the […]
Python Check if File Exists – Get Easy code
Using Python – Check if file exists in a path Python is a versatile programming language that is widely used for a variety of tasks. One of the common tasks is to check if a file exists in a specific path. In this article, we will discuss how Python check […]
Python Unzip all Files in Directory – in just 4 Lines – Easy Code
This Python code unzip all files to directories and subdirectories in one step. All files in Zip archive will be extracted corresponding directoy structure.
Get Current Weather in Python – Free Openweathermap Api
Python – Weather Report for any City There is a similar article to this in which the weather report is obtained using Excel Vba code. To use this open weathermap Api , you have to first register with your email and get the AppId key. They provide a free limited […]
Python Sort List Function – Ascending or Descending
Sort Function in Python Code In Python, You can sort a list or array of numbers & strings using the built in function. The code below creates a numeric & string array. Then sorts is ascending & descending. The default is ascending. Lets see how do this with a Python […]
Get list of Folders in directory path – Python
Print Directory List in Python To get list of sub-directories present in a computer folder, use the code below. Edit the folder path mentioned in the variable “folder_path”. Then execute this ready to use code. It will print the sub-directories name one by one. #List all subdirectories in a folder […]
Get list of Installed Packages in Python
Python program to Get list of installed Packages or modules using pip. Also get the cmd prompt command to get the list using pip commands.