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

A

A.M

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top