Re: Best practices regarding partial import of hand-selected functions into global namespace
[email protected] Tue, 22 Mar 2022 20:52:29 -0000
| Newsgroups | gmane.comp.python.scientific.user |
|---|---|
| Message-ID | <[email protected]> |
Thank you David, I don't think referencing PEP8 is pedantic at all and I appreciate the response. As you say, in some sense it is just a regular Python style question and usually the best answer is just to do `import module`. Perhaps it is also best to just do that with scipy as well, or else you end up with this ridiculously long `from scipy.linalg import ___, ___, ___, ___, ___, ___` string at the top of the program that extends all the way to the next computer. I was just confused there for a minute because of the scipy documentation. (I guess I also tend to use numpy and scipy so much that it's kind of in a middle ground between a third party library and part of "core python" for my uses.) Best, Mike _______________________________________________ SciPy-User mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/scipy-user.python.org/ Member address: [email protected]