Skip to content

"&" symbol coming up in terminal after using "Run Selection/Line in python terminal" #12461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
deepak4babu opened this issue Jun 19, 2020 · 1 comment
Labels
bug Issue identified by VS Code Team member as probable bug

Comments

@deepak4babu
Copy link

  • VS Code version: 1.46.1
  • Extension version (available under the Extensions sidebar): v2020.6.89148
  • OS and version: Windows 7
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.0
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Value of the python.languageServer setting: Jedi

Expected behaviour

Compile python program

Actual behaviour

Received syntax error

SyntaxError: invalid syntax

& "D:/Program Files/Python/Python 3.8.0/python.exe" "d:/VS Code Projects/hello/hello.py"
File "", line 1
& "D:/Program Files/Python/Python 3.8.0/python.exe" "d:/VS Code Projects/hello/hello.py"
^

Steps to reproduce:

[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

  1. Create a python file with some print statements
  2. Run the code with "Run Selection/Line in python terminal" and try running using play button
@deepak4babu deepak4babu added triage-needed Needs assignment to the proper sub-team bug Issue identified by VS Code Team member as probable bug labels Jun 19, 2020
@karthiknadig
Copy link
Member

This is a dupe of #11435

@ghost ghost removed the triage-needed Needs assignment to the proper sub-team label Jun 22, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants