I want to print the output from a python.py file into a txt so i use this code:
python program.py > output.txt
that goes on the command line.
The problem is : it only print the 90% of the outputs, it seems that the program is too long so anyway, is there a way to print all the output in the txt ? something like:
python program.py > output.txt 1000 lines
THATS THE CODE : http://pastebin.com/2bSiGKx8
THATS WHAT IT PRINTS : http://pastebin.com/r00JteMG