0
with open()
Can someone explain why "with open("myfile.txt", "r") as f:" has indentation and what the indentations can be used for?
1 Antwort
+ 2
To explicit where end use of 'with' statement, wich create a new scope... ending the scope will implicitly close the file...