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

manikantag picture manikantag  路  4Comments

N2ITN picture N2ITN  路  5Comments

waithope picture waithope  路  5Comments

mjaniec2013 picture mjaniec2013  路  5Comments

nmchgx picture nmchgx  路  3Comments