Re: python3-port branch merged to default and then closed

Dirk Bächle <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.