keyboard Interaction

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ajs31000
    New Member
    • May 2010
    • 4

    #1

    keyboard Interaction

    Hi, so I'm veryyyyyy new to python and have been trying to teach myself,
    but I have no idea how to do anything with user interaction other than raw_input, so if you have any ideas on how to cause different events based on a user using the arrow keys or clicking please help!
    Thank you very much in advance!!!
  • Glenton
    Recognized Expert Contributor
    • Nov 2008
    • 391

    #2
    It sounds like you're wanting a GUI type of thing. There are several that work quite well. I don't personally use them much.

    TKinter is the de facto standard for python, from what I understand.

    Qt is also popular, although not entirely free (as it free speech) from what I understand.

    If it's gaming you're after, then I believe there are gaming modules out there too. Probably pygame would be the place to start.

    As an aside, IMO, GUI is relatively advanced coding - if you're learning coding, you might want to learn other basics first? On the other hand, that might just be because I personally mostly don't do GUI coding...

    Comment

    Working...