formulahendry / vscode-code-runner

Code Runner for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner
MIT License
2.19k stars 292 forks source link

No output / print #387

Open StayFoolisj opened 5 years ago

StayFoolisj commented 5 years ago

Hi,

As a complete beginner to python I have probably missed something obvious.

Whenever I try to print a string, the code-runner seemingly runs, but the print function doesn't appear as output. I tried in terminal also by doing this:

Modify "code-runner.runInTerminal" from false to true. Same result.

What am I doing wrong?

Any help is appreciated!

screen shot 2018-10-31 at 12 05 34

StayFoolisj commented 5 years ago

Discovered the problem - I hadn't saved the code before running it!

I am so used to autosave I took it for granted.

Sxh89 commented 5 years ago

Hey, i've tired saving but am still getting the exact same problem. Any idea what's going on?

keddad commented 5 years ago

This one should probably be closed now?

dpitic commented 4 years ago

Why close? It's still not working.

RocTanweer commented 3 years ago

Hey, i've tired saving but am still getting the exact same problem. Any idea what's going on?

worked for me!