Sublime Forum

Message Not Running

#1

Hello, all. I’m completely new to coding and could use help with this issue.

I have just started learning Python and I’m currently typing out a hello world type of message. My first one works fine. However now in a new file when i type the exact same set of code with a different message i get an error message.

Error message.

I’m confident that it is something I’ve done, or not done as the case may be but for the life of me, i cannot work out what it is.

Any help with this would be greatly appreciated.

Much thanks in advance,
Niall.

0 Likes

#2

You didn’t save it as a file.

1 Like

#3

:man_facepalming: @jfcherng thank you so much.

Ah, so i must save it as a file each time before running the code?

0 Likes

#4

Not exactly. You have to make sure the file exists. ST will do save iirc.

1 Like

#5

Ah ok, i see. Makes sense.

Thank you for taking the time to help me out, greatly appreciated.

1 Like