Win XP Error: There is not enough space on the disk

A.M alanalan at newsgroup.nospam
Thu Jun 8 21:32:29 CEST 2006


Hi,



I am using ActivePython 2.4.on windows XP



I created test.py that contains the following simple script:





import os

os.system("dir *.py")





When I run the script, it works fine. But, when I run the following command 
on windows XP:



Test.py > file.txt



I receive this error: "There is not enough space on the disk." Which is not 
correct.



I am translating dos batch files to python scripts and I redirect the stdout 
output of all scripts to a LOG file. With this error, I cannot have a log 
file for my Python scripts.



Is there any way that I can fix this problem?



Thanks,

Alan







More information about the Python-list mailing list