
Often you will see __name__ in your python code. Here is what __name means in python.
Sometimes you may need to delete file or folder in Python. Here are the steps to remove file or folder in Python.
Sometimes you may need to connect to PostgreSQL database and send SQL queries. Here is how to do it.
Sometimes you may need to sort contents of CSV file in python. Here is how to sort CSV file in Python.
Sometimes you may need to read binary file line by line or read bytes from binary file. Here is how to read binary file in python.
Sometimes you may need to extract or retrieve filename from path. Here is how to get filename from path in Python.
Python provides several libraries to list all files & subdirectories in a directory. Here is how to list all files in directory in Python.
Python provides many different ways for reading & writing files. Here is how to read & write files in Python.