4 ms·
Why is function level import considered bad practice?
by siika2000 16y ago
Why is function level import considered bad practice?
- d0mine 16y agoDeadlocking on the import lock might be introduced by an innocent code that uses a library with function level imports. In general globals should be written at a global level.
- dustingetz 16y agohttp://stackoverflow.com/questions/1699108/local-import-statements-in-python http://stackoverflow.com/questions/1699108/local-import-stat...