filmov
tv
python - How can I import a module dynamically given the full path?

Показать описание
#short
#python
#python-import
#python-module
How do I load a Python module given its full path?
Note that the file can be anywhere in the filesystem where the user has access rights.
See also: How to import a module given its name as string?
#python
#python-import
#python-module
How do I load a Python module given its full path?
Note that the file can be anywhere in the filesystem where the user has access rights.
See also: How to import a module given its name as string?