Can’t remember where I read this but it’s good to keep in mind why module level imports should be avoided.

Having imports later in the file can be brittle and can cause small changes in the ordering of your code to break the module entirely

January 1, 2017 Python


Previous post
Python Command line arguments Here is some simple code that allows you to call different functions based on user provided options. There are more robust tools out there but if
Next post
Run Linux Process in Background Press ENTER after you see the above message