Python Forum
Keypress when running a python app in a console on windows
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keypress when running a python app in a console on windows
#3
Than ks for the quick reply,

Sorry I did not specify fully, I would like to check for a few different keys like 'q' = quit or space = continue the program

I am happy to wait for a keypress then based on the return make choices but as I say when the console has lost focus it does not respond


Steve
Reply


Messages In This Thread
RE: Keypress when running a python app in a console on windows - by Stephen - Apr-16-2019, 10:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  In Console,Python anna17 0 242 Mar-23-2024, 08:24 PM
Last Post: anna17
  Python script running under windows over nssm.exe JaroslavZ 0 763 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  Python Flask Realtime system printout (console) ffmpeg jttolleson 3 3,037 Apr-18-2022, 06:39 PM
Last Post: jttolleson
  batch file for running python scipt in Windows shell MaartenRo 2 1,979 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  Python library for win32 console commands eldiener 3 3,558 Aug-24-2021, 10:28 PM
Last Post: bowlofred
  Read a single event (keypress) from asyncio cygnus_X1 3 4,443 May-26-2021, 07:43 PM
Last Post: deanhystad
  Problem: Restart kernel onPydev console when trying to install a python package poppy2020 1 7,800 Nov-25-2020, 06:13 PM
Last Post: Larz60+
  to call via console a python-programm Liki 9 3,355 Nov-22-2020, 01:10 AM
Last Post: bowlofred
  My Python Console doesn´t work ModuleNotFoundError: No module named 'tokenize' RuanKishibe 1 3,188 Aug-06-2020, 10:07 PM
Last Post: deanhystad
  Running this script on Windows? Winfried 2 2,368 May-15-2020, 01:39 PM
Last Post: Winfried

Forum Jump:

User Panel Messages

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