You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1- Write print('hello') in a new python file
2- Select the chunk of code and run it with run selection (shift+enter)
3- Run the code again, but using run python file in terminal.
Hi @P-mir 👋 This is a duplicate of #2997. As a workaround you can either close the Python Debug Console that was created when you ran the selection, or type exit() to quit that REPL and be able to execute files in the terminal.
Issue Type: Bug
1- Write print('hello') in a new python file
2- Select the chunk of code and run it with run selection (shift+enter)
3- Run the code again, but using run python file in terminal.
expected: hello
actual:
File "", line 1
& C:/Users/me/AppData/Local/Programs/Python/Python37-32/python.exe "mypath/test.py"
^
SyntaxError: invalid syntax
Extension version: 2019.9.34911
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.18362
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
oop_rasterization: disabled_off
protected_video_decode: enabled
rasterization: enabled
skia_deferred_display_list: disabled_off
skia_renderer: disabled_off
surface_synchronization: enabled_on
video_decode: enabled
viz_display_compositor: disabled_off
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: