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
#1
Hi all,

I have a small python program running for the windows command window (console app) I want to detect a keypress when the console app has not got focus.

I tried several ways to do this but it never seems to work.

Steve
Reply


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

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