Detect keypress without drawing canvas or frame on tkinter [closed] - python

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to detect when a button is being pressed anytime when my python3.4 program is running. How do I do it without taking text input?

Use a OS-level hotkey. How that's done will depend on your OS.

Related

Can I make a application frontend for smartphones using Python? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I've done a little predictive program with Python and I would like to transform it in an application for smartphones. Can I accomplish it with Python itself, or should I use another language? If yes, what APIs would you recommend for that?
Thanks
You might be able to do this with Kivy.

How to erase image specific areas by dragging the mouse in python GUI? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to use some python libraries to create a GUI app with which I can smear some area by dragging the mouse?
I am truly faithfully to thank anyone who can give me a hand. Thank you.
Most graphic libraries should capture the mouse pointer. Specifically I recommend PyQt, which is very powerful, and you can access many things at the level of widgets. All the documentation can be found here

My comand prompt exits right after I test my code [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Right after I start my PYTHON code my comand prompt exits.I can't even test it out or see the result becaues it exits too fast.Any help?
Add
input("Press Enter to continue...")
to the end of your file. It will wait for you to press Enter.

Python: Automatically Generate Google Form [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I'd like to be able to generate and publish a google form using python code. Is this possible?
Below link will give you an idea:
https://www.reddit.com/r/learnprogramming/comments/32xd4s/how_can_i_use_python_to_submit_a_google_form_or/

Choosing which sound to play in Pygame [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
In Pygame how would I define which sound I want to play in certain "if" events? I've been able to load them both in I just hit the issue of not playing either on demand. Thanks for helping me in advance.
You need to use a sound object to play sounds.
if condition_one_true:
sound_one = Sound('sound1.mp3')
sound_one.play()
if condition_two_true:
sound_two= Sound('sound2.mp3')
sound_two.play()

Categories

Resources