[TriEmbed] Python print problem
Pete soper
pete at soper.us
Thu May 11 12:31:03 CDT 2023
I have some python code that has this statement:
print(f'C: {degrees_c:6.2f} F: {degrees_f:6.2f}')
If I run the script from an Ubuntu bash terminal session I get the two
temperatures as expected. But if I redirect the output I get nothing.
For instance these two commands result in zero output to the terminal or
log file:
./edgerBMP3XX.py >log
./edgerBMP3XX.py | tee -a log
What am I doing wrong? The version is 3.8.10.
Pete
More information about the TriEmbed
mailing list