Kodi Community Forum
From foo.py import and execute bar.py - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: From foo.py import and execute bar.py (/showthread.php?tid=227244)



From foo.py import and execute bar.py - myfototv - 2015-05-18

Hi community,

I am running script in foo.py and want to import bar.py and its script into my foo.py,

can someone shed some light on how to do this please.

Cheers.


RE: From foo.py import and execute bar.py - wsnipex - 2015-05-18

import bar