You are reading a single comment by @cyclotron3k and its replies. Click here to read the full conversation.
  • ^p.s. does anyone here know how i can include # in the printed text without the apostrophe beforehand? Without it the # functions as an ignore character in python.

  • I don't think you need to escape the hash at all. It looks like you're using Pico, and Pico's syntax highlighting is a bit wonky. The code is fine but Pico makes it appear like you've commented out half the line.

    Open the file in something else like VS Code, VIm or Sublime, and you'll see it's ok.

  • Using nano in the screenshot, I had set it to appear green matrixy in juicessh.

    Opened it in Thonny on desktop and you're right it doesn't change to appear commented out. I'll do a test later. Thanks!

About

Avatar for cyclotron3k @cyclotron3k started