News

Working with files in Python is pretty easy. But there’s a common mistake that can sneak into your code. Not closing the file ...
Remember that a CSV file is actually just a text document with a fancy formatting. That means that you actually don’t need to use a module if you want to know how to open CSV files in Python!
Thonny is a nice option to create a PY file, open Python files, and edit PY files on Windows 10. This open-source tool has a simple interface and it is intended to use for beginners.
The problem I've noticed is that if I append the file with each of the 100k runs (one at a time), it can happen that two threads try to save to the file at the same time and some row (s) end up empty.