Exclusively create a file in Python 3 – alexwlchan
python - How to find if the txt file is empty or not? Conditions: The file is empty (throw exception) ,the file has only spaces and new line(throw exception) - Stack Overflow
Python Exceptions: An Introduction – Real Python
OS Error and Overflow Error in Python… | by Rayancrazer | Medium