Posts by GeneralShut • 41 points
1 post
-
4
votes2
answers88
viewsA: Library import inside or outside functions
According to PEP-8: "Imports should always be placed at the top of the file, right after any comments or docstrings, and before constants or global. " Follow the link with more information about the…
pythonanswered GeneralShut 41