Tutorials

Creating directories and files with Python

How to create files and dirs with python. On one of my projects I wanted to save all the requests the application was receiving, creating my own log. I didn't want to have all the requests in one big file but instead in folders indicating the year, month, day and time of the request.