Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VS Code questions
#1
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?
Reply
#2
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)
Reply
#3
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
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#4
Thanks Buran
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python code Questions. TheDude 2 39,786 Jun-22-2020, 09:31 PM
Last Post: TheDude
  Discord bot that asks questions and based on response answers or asks more questions absinthium 1 38,589 Nov-25-2017, 06:21 AM
Last Post: heiner55

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020