Do not use "import *" in notebooks #451
impredicative
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Python it is considered bad practice to use
from <something> import *
. That's because the imported objects thne clutters the namespace, and it is not clear where the imports are coming from. This issue is manifest in the notebooks. The notebooks should be updated to use proper explicit imports, e.g.from <something> import foo, bar, etc
orimport <something.thing>
.@hiohiohio
Beta Was this translation helpful? Give feedback.
All reactions