¡@

Home 

python Programming Glossary: mainprogram

NameError using execfile in python

http://stackoverflow.com/questions/922897/nameerror-using-execfile-in-python

correct way to call the spam function from within eggs #mainprogram.py class mainprogram def runme self execfile myscript.py this.. the spam function from within eggs #mainprogram.py class mainprogram def runme self execfile myscript.py this mainprogram this.runme.. class mainprogram def runme self execfile myscript.py this mainprogram this.runme # myscript.py def spam print spam def eggs spam eggs..