Dynamically import specific names from a module vs importing full module

Malcolm Greene python at bdurham.com
Tue Aug 23 07:56:30 EDT 2016


Ned and Random832,
Ned: Thank you - your example answered my question.
Random832: Thank you for the reminder about "from <module> import
<name>" still importing the module. Yes, I had forgotten that behavior.
Best,
Malcolm


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /