Re: [Tutor] python newbie..system call help

2005-07-12 Thread Mike Pindzola
any responses Mike Pindzola wrote: > Yes, I have did 'import os'. For starters I want to read the result of > 'pwd' and print it out in the program for the user to see what path is > being read. Also, I need to have a function to handle root access if > the us

Re: [Tutor] python newbie..system call help

2005-07-12 Thread Mike Pindzola
ting and unmounting hardware. So a call to 'su' would be in order as well as sending the user provided password back to it. Aside from that, just so copying of files, making dirs, and changing file permissions. [EMAIL PROTECTED] wrote: >Quoting Mike Pindzola <[EMAIL PROTECTED]>

[Tutor] python newbie..system call help

2005-07-12 Thread Mike Pindzola
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