python - How to view shell on pi after auto startup -


i new linux, python , pi. however, have managed write python program reads temperature sensor , displays it, updating every 10 minuites.

if run program python editor (hitting f5 run), opens python shell , can see output program.

however, program run when pi boots , still display temperture in shell.

i put .py file in launcher.sh in /home/pi program run when pi boots (i can tell program flashes led show running) not shell , cannot see temperture being displayed.

can tell me, please, how can start program when pi boots make open shell can see output.

many thanks,

peter


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to understand 2 main() functions after using uftrace to profile the C++ program? -

android - Unable to generate FCM token from dynamically instantiated Firebase -