Hi there,

On 24.05.2016 10:54, Alexandre Feblot wrote:
Hi,
definitely not a guru. I did this once, which was enough to get a python file 
loaded, and access its classes:

import importlib.machinery
my_module = importlib.machinery.SourceFileLoader('my_module', 
'/path/to/my_module.py').load_module()
My_Class = my_module.My_Class
my_class_instance = my_module.My_Class()


on the python-list there was a post/question about this (or at least related) 
today:

  https://mail.python.org/pipermail/python-list/2016-May/709388.html


Maybe someone answers...should I bring that to your attention then (I'm 
currently subscribed)?

Best regards,

Dirk


_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to