chris harvey wrote: > Hi, > I am very very new to python language. if this is to > simple im sorry. I have had linux mandrake for 2 weeks > now and i have been learning. > I got my apache server running to find it has no GUI. > I was disapointed till i remembered i was learning > python. > I wondered if a python script could be used to make > /combind the server start and the config file take > info from the script. that make sense? > something like. > > <code> > /usr/sbin/advxrun2.0 # starts server then > open (path) apache.config for input ? > </code>
I don't really understand what you want to do. If you want to write a script that runs other programs, look at os.system() http://docs.python.org/lib/os-process.html#l2h-2761 What do you mean by "open (path) apache.config for input" ? Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor