Skip to content

Pressing "run python file in terminal" doesn't work #5916

Description

@Meru

Pressing "run python file in terminal" doesn't work since the update. Worked fine with older version of the python extension.
Verified on a clean vscode profile with just one vscode-python

Environment data

  • VS Code version: 1.34.0
  • Extension version (available under the Extensions sidebar): 2019.5.18426
  • OS and version: win7 SP1 x64
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3 x64
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: N/A

Expected behavior

file that is being edited is being executed in terminal

Actual behavior

nothing happens

Steps to reproduce:

  1. make a one-line python file: print("sdfsdgfb")
  2. press "run python file in terminal"

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugregressionBug didn't exist in a previous release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions