All about files in python π
file = open('test.py')
This above code will give error, if no test.py file is present.
file = open('test.py', 'w')
This above code will find the test.py file first, if found, its good, if not, then it will first create a test.py file and then open ...
python-by-ashusnapx.hashnode.dev1 min read