Vscode-code-runner: No output / print

Created on 31 Oct 2018  ·  5Comments  ·  Source: formulahendry/vscode-code-runner

Hi,

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

  • Have setup vscode and installed code-runner
  • Have modified "code-runner.executorMap" from "python -u" to "python3"

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

Most helpful comment

Why close? It's still not working.

All 5 comments

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

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

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

This one should probably be closed now?

Why close? It's still not working.

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

worked for me!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Salil03 picture Salil03  ·  5Comments

bhavinkamani picture bhavinkamani  ·  4Comments

Yensan picture Yensan  ·  4Comments

w3adventures picture w3adventures  ·  3Comments

seiferthan picture seiferthan  ·  4Comments