Results 1 to 3 of 3
Using Ubantu Linux(10) with a python program that prints data coming in from bluetooth. The program works. Now I want to redirect so that the python print statement outputs to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-18-2011 #1Just Joined!
- Join Date
- Feb 2011
- Posts
- 4
Problem with redirects
Using Ubantu Linux(10) with a python program that prints data coming in from bluetooth. The program works. Now I want to redirect so that the python print statement outputs to a file. I used the line:
python test.py > log.txt
Where test.py is my program.
The print statement no longer outputs to the console, but when I ctrl/Z to return to Linux the log file is still empty. What am I doing wrong?
- 02-18-2011 #2Just Joined!
- Join Date
- Feb 2011
- Posts
- 5
- 02-18-2011 #3Just Joined!
- Join Date
- Feb 2011
- Posts
- 4


Reply With Quote

