parsing a file [newbie]
Langa Kentane
LangaK at discoveryhealth.co.za
Wed Jan 17 03:37:25 EST 2001
How do I read a file.
This is what I want to do.
Run a command using os.popen and store the file info that it returns to x
Open file x and read the contents.[ contents of x will be a mount output.]
Go to the third column of the mount output and and store in y
How would I go about doing this.
__________________________________________________________
Langa Kentane | TEL: (011) 290 3218
Security Administrator | Cell: 082 606 1515
DISCOVERY HEALTH | http://www.discoveryhealth.co.za
__________________________________________________________________
More information about the Python-list
mailing list