sagar panda wrote:
Hi

I am sagar. I want to write a python script that will run the python scripts automatically from a directory. Please help me out to sovle this problem?

You can use the execfile() builtin function to execute Python scripts. And you can use glob.glob("/some/path/*.py") to find the Python scripts. You'll need to import the glob module first, of course.

That should help you implement the solution.

-- Gerhard

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to