[Python-porting] Porting Problem

Zepp, Robert rzepp at aclara.com
Wed Aug 16 18:41:17 EDT 2017


Please,

How do I make the following line compile in 3.6 ?

batchfile = importlib.Loader.exec_module('batch_file', TestScript_fd, FullFilePath, ('.py', 'r', importlib.PY_SOURCE))

Thanks.

Robert Zepp
Senior Firmware Engineer

[https://aclara.wpengine.com/sigb/images/aclara_primary_logo.png]<http://aclara.com/>

[https://aclara.wpengine.com/sigb/images/index24_07.png]

[https://aclara.wpengine.com/sigb/images/index24_08.png]

[https://aclara.wpengine.com/sigb/images/aclara_connect_2018_logo.png]<http://go.aclara.com/aclaraconnect2018-save-the-date>

[https://aclara.wpengine.com/sigb/images/aclaraconnect_2018.png]<http://go.aclara.com/aclaraconnect2018-save-the-date>

[https://aclara.wpengine.com/sigb/images/linkedin.png]<https://www.linkedin.com/company-beta/372610/>

[https://aclara.wpengine.com/sigb/images/facebook.png]<https://www.facebook.com/aclarasolutions/?hc_ref=SEARCH&fref=nf>

[https://aclara.wpengine.com/sigb/images/twitter.png]<https://twitter.com/AclaraSolutions>

[https://aclara.wpengine.com/sigb/images/index24_14.png]



 P: 314 895 6543  C: 314 807 6600  E: rzepp at aclara.com<mailto:rzepp at aclara.com>  W: aclara.com<http://aclara.com/>   A: 945 Hornet Drive, Hazelwood MO 63042

This e-mail is intended for the addressee shown. Should you have received it in error, please delete this message and contact the sender. This e-mail and any attachments thereto may contain information that is privileged, confidential or proprietary. Any review, dissemination or use of this transmission or its contents by persons other than the addressee or authorized employees of the intended organizations is strictly prohibited.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 3206 bytes
Desc: image001.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 1087 bytes
Desc: image002.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 1050 bytes
Desc: image003.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 4011 bytes
Desc: image004.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 4163 bytes
Desc: image005.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 1758 bytes
Desc: image006.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0015.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.png
Type: image/png
Size: 1685 bytes
Desc: image007.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0016.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.png
Type: image/png
Size: 1748 bytes
Desc: image008.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0017.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 1086 bytes
Desc: image009.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0018.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image010.png
Type: image/png
Size: 1467 bytes
Desc: image010.png
URL: <http://mail.python.org/pipermail/python-porting/attachments/20170816/ddd4fc89/attachment-0019.png>


More information about the Python-porting mailing list