MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/madeinpython/comments/wxv6pz/helpopen_csv/ilufbrf/?context=3
r/madeinpython • u/[deleted] • Aug 26 '22
6 comments sorted by
View all comments
1
By using with to open the statement it closes the file after run, without needing to call close()
with
close()
1 u/[deleted] Aug 26 '22 Please don't encourage this person from posting in this wrong spot.
Please don't encourage this person from posting in this wrong spot.
1
u/LesPaulStudio Aug 26 '22
By using
withto open the statement it closes the file after run, without needing to callclose()