[python-win32] Python and Hardwaremanagement

Tim Roberts timr at probo.com
Wed Apr 13 01:55:48 CEST 2005


On Tue, 12 Apr 2005 23:45:20 +0200, "daniel(1und1)" <daniel at elxlbn.de> 
wrote:

>I'm new to Python. Till today I have only written two small programs and
>tried out some window object functions. Therefore I apologize for any
>"nonsense". My problem is how to take control with Python of my hardware
>(keyboard, monitor, etc.). I have downloaded the win32com.client but could
>no find any commands/modules related to such issues. Microsoft offer only
>Python programs which produce information about the drivers and properties
>but not a way to manage them. Any help or suggestions?
>

I guess you need to tell us what you mean by "take control".  Because of 
its Linux heratige, basic Python is oriented towards command-line-based 
processing.  It reads from the keyboard as "standard input" and writes 
to the screen as "standard output":

  name = input('What is your name? ')
  print "Hello, %s!" % name

If you want to create GUI apps, where you have a window with controls 
and buttons and such, you will need to investigate one of the add-on 
packates.  wxPython is my favorite, but tkinter and pyGTK have their 
fans as well.

-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-win32 mailing list