Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
How can I control the keyboard using Python or Command Prompt?
0
votes
asked
Nov 8, 2019
by
anonymous
I am trying to close and application withing a program without requiring manual intervention. An application can be closed using Alt + F4 which is why I am trying to control the keyboard using Python or Command Prompt.
-help-plz-
Please
log in
or register to answer this question.
1 Answer
0
votes
answered
Dec 10, 2022
by
Zaydiscool777
(
360
points)
I'm not sure if python or bash let's you do that in OnlineGDB... but you can use exit() or exit to stop the program.
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...