I watched this tutorial by Sam Westby Tech that was VERY helpful. (I recommend you watch it. Title: Controlling Your Raspberry Pi With a BUTTON) I found out what you had been saying I should do and what I had been doing wrong: using Mu instead of GNU nano 5.4. Mu is for overall python coding whereas GNU nano is more for command-line coding, which is what I need. I will try the methods you posted and let you know if any of them worked. So far, as you said, when you press Ctrl+C it stops the code. I will update you on the results.
Statistics: Posted by Henrik Gill — Mon Mar 04, 2024 11:25 pm