[Tutor] putting python to use

Kent Johnson kent37 at tds.net
Sat Jul 28 12:57:00 CEST 2007

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()

What do you mean by "open (path) apache.config for input" ?


More information about the Tutor mailing list