Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99637

How to run a few selected lines of code in vscode?

$
0
0

How do I execute run Shift + Enter only the selection of highlighted lines of code in vscode?

Edit: Maybe I should be clearer.

when hitting Shift + Enter the following error :

Unable to initialize device PRN

but when I right click > run python file in terminal the code works.


Viewing all articles
Browse latest Browse all 99637

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>