On Oct 27, 2017 5:38 PM, "Ian Kelly" <ian.g.ke...@gmail.com> wrote:
In addition to what others have answered, if the code in question has any variables then I'll prefer to put it inside a function and call the function. This ensures that the variables are local and not going. It's a minor code hygiene point, but a good practice in my opinion. s/going/global/ :P -- https://mail.python.org/mailman/listinfo/python-list