dynamic-import

Dynamically importing Python module

Dynamically importing Python module Question: I have a trusted remote server that stores many custom Python modules. I can fetch them via HTTP (e.g. using urllib2.urlopen) as text/plain, but I cannot save the fetched module code to the local hard disk. How can I import the code as a fully operable Python module, including its …

Total answers: 4