Python Forum

Full Version: VS Code questions
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have been using VS code and like it very much.
There are two questions:
  1. How do I terminate a running script Terminate tasks states that no task is running, but indeed it is?
  2. Where do I enter text for an input command -- Tried terminal, but that's not it?
Ok Found answer to no 2
Quote:Where do I enter text for an input command -- Tried terminal, but that's not it?
right click in code and select 'Run python file in terminal'
This will probably also be the answer to no 1 as now ctrl-c should work (but haven't tried it yet)
in addition to Ctrl+C to kill a running script you can also use 'Kill terminal' - that is the bin icon in the top-right corner of integrated terminal
Thanks Buran