[Tutor] python newbie..system call help

Mike Pindzola pindzola at charter.net
Wed Jul 13 02:12:42 CEST 2005


I am writing a small program to speed up the efficiency of me on my home 
linux machine. I need it to communicate serveral times to the bash shell 
to issue and retrieve info. I took a guess and tryed the system() 
function call, but python quickly rejected that.

Should I be even trying to make a system call? Is there a better way to 
talk to the shell? Either way, please enlighten me. Thanks.

Also, this is my first time using the python tutor and I am new to 
python itself also, although I have done small amounts of programming in 
other languages before...Please fill me in on any procedures in the 
mailing list.

-Mike


More information about the Tutor mailing list