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 days ago.
Improve this question
I want to put the numbers on the screen as variables in real time.
If the numbers on the screen change, the variables change in real time as well.
example )
Declares the variable "num".
Puts the number you see on the current screen into the variable(num) in real time.
If the number on the screen changes, put the currently visible number in the variable(num).
I've looked it up on many sites, but I don't know how to recognize the screen in real time.
please help me!
Related
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 1 year ago.
Improve this question
I just learned python the other day, I was wondering how I can make the function vc_s2() wait for function vc_s1() to be done before running, and the same for vc_s3() with vc_s2()?
Thank you so much in advance!
from funtions import vc_s1, vc_s2, vc_s3
vc_s1()
vc_s2()
vc_s3()
Python runs chronologically, so it goes from top to bottom, as long as you have the 3 functions in order you should be fine.
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 2 years ago.
Improve this question
The computer obviously stores it sense it knows when to put the screen saver on. Is there a python program that can get the computer's idle time?
This questions has already been answered several times it appears. A quick google search for this topic should give you other stack overflow Q's & A's for this question, but here is one of the previously answered links:
detecting idle time using 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'm going to design simple battleship game with Python and Pygame.
but I don't know whether I need database for this purpose or not , or generally which games need databases to be designed.
I'll be thankful for any kind of help!
You don't have to use a db to have a simple game if you're just storing everything when the program is run. If you want to save the progress after starting and stopping your game then perhaps a database would be required
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
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()