[Tutor] putting python to use

Tiger12506 keridee at jayco.net
Sat Jul 28 17:39:39 CEST 2007

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

Well, assuming that he wants to Open apache.config for input, I would guess 
that he needs to be able to open the file, and be able to parse it's 
contents. If that's the case, a sample of the contents would be nice~ most 
config files are alike, but there are a few gotchas out there.


More information about the Tutor mailing list