Re: help in execfile function

2008-09-04 Thread Steven D'Aprano
On Thu, 04 Sep 2008 05:03:57 -0700, moijes12 wrote: > Hi > > i have 3 python files and i want to execute the files sequentially using > the execfile command.Hence ,i have written the following program > > > fileList = ["a.py","b.py","c.py"] > > for fileName in fileList : > execfile(fileNa

help in execfile function

2008-09-04 Thread moijes12
Hi i have 3 python files and i want to execute the files sequentially using the execfile command.Hence ,i have written the following program fileList = ["a.py","b.py","c.py"] for fileName in fileList : execfile(fileName) however,when i try running it,the program keeps calling execfile on