On Friday 22 April 2005 01:39 am, [EMAIL PROTECTED] wrote: > I am a newbie to python. I have a makefile which i can compile in > UNIX/LINUX, But i > I am planning to write a python script which actually does what my > MAKEFILE does. The make file is [...] > I want to write a python script to replace this Makefile. > I Have tried using getopt/optparse for parsing command line options > How to Run Unix shell command from python.
Read the documentation on the "os" and "popen2" modules under "generic operating system services" in the Python Standard Library Manual (go to http://www.python.org if you haven't already got this manual on hand). Cheers, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com -- http://mail.python.org/mailman/listinfo/python-list