Today, I coded a calculator app in Python, and when I first tried the shebang, it didn't run, but I eventually found the problem.

It turns out line endings in files matter. I kept using windows line endings because that's how I end my txt files. I had to switch it to Linux/Unix for the shebang to work :blobfoxreinderp:

It's not the best-looking one, as the square root operator text just says "Sqrt".

0

If you have a fediverse account, you can quote this note from your own instance. Search https://bark.lgbt/users/iivoltagewolf/statuses/116234245825782062 on your instance and quote it. (Note that quoting is not supported in Mastodon.)