Silly redirect error.

Chris Liechti cliechti at
Fri Jan 11 23:36:43 CET 2002

yoghurtbrain at (Arne Weise) wrote in 
news:f025a2d.0201110847.25d9e45a at
> Howdy strangers. I have this simple code in
[snip exaple 1]
> If I change it to:
>     return os.system("dir")
> then I get the error:
> "There is not enough space on the disk." (also translated)
> Im using python 2.2 btw.

don't mess around with return values of system...

try "os.popen()" instead

Chris <cliechti at>

More information about the Python-list mailing list