imp.find_module()
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 开发者_Go百科will imp.load_module
close it for me?
精彩评论