
#12: Deep Dive into Modules and Packages
Talk Python To Me
00:00
How to Use Threads to Import Modules
The XML example is very enterprise ready. So what about threading? Is there any special considerations for modules if I'm like working with threads? Well, one of the things that I didn't realize doing the tutorial is just how nasty the import statement combined with threads is under the cover of the, well, it turns out that that module imports is not really a totally thread safe thing to do. It's probably awesome that you can do it, but not awesome if you do do it.
Transcript
Play full episode