-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Update Run code section under Python language #6174
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
Conversation
docs/languages/python.md
Outdated
|
||
- In the text editor: right-click anywhere in the editor and select **Run Python File in Terminal**. If invoked on a selection, only that selection is run. | ||
- In Explorer: right-click a Python file and select **Run Python File in Terminal**. | ||
 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You won't be able to reach over to the docs/python images folder from docs/languages and it's better to not share images widely since this can break if topics are moved around.
Can you make a second copy of the run-python-file-in-terminal-button.png under docs/languages/images/python? Thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, thanks for the catch!
docs/languages/python.md
Outdated
@@ -33,14 +33,13 @@ To experience Python, create a file (using the [File Explorer](/docs/getstarted/ | |||
print("Hello World") | |||
``` | |||
|
|||
The Python extension then provides shortcuts to run Python code in the currently selected interpreter (**Python: Select Interpreter** in the Command Palette): | |||
The Python extension then provides shortcuts to run Python code using the currently selected interpreter (**Python: Select Interpreter** in the Command Palette), just click the **Run Python File in Terminal** play button in the top-right side of the editor. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe simplify and break this into two sentences:
"To run the active Python file, select the **Run Python File in...."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Closes #6138