0👍
You could use python’s with statement. This lets your code tidy up after itself. I.e. files are closed.
Here is a good tutorial: http://effbot.org/zone/python-with-statement.htm
Source:stackexchange.com
0👍
You could use python’s with statement. This lets your code tidy up after itself. I.e. files are closed.
Here is a good tutorial: http://effbot.org/zone/python-with-statement.htm