According to the imp.load_module documentation, "The caller is responsible for closing the file argument." If I pass the file object returned from imp.find_module to imp.load_module, am I still responsible for closing the file object? Or will imp.load_module close it for me?
Asked
Active
Viewed 1,036 times
4
Uyghur Lives Matter
- 18,820
- 42
- 108
- 144