Posts by pedrohcms • 21 points
2 posts
- 
		0 votes2 answers941 viewsA: help with storing value of a local variable in pythonall right? My suggestion would be to use a class attribute, in which case the result would be visible in it. I would leave the method PegarMarca thus: def PegarMarca(self, event): self.marca =… 
- 
		2 votes3 answers655 viewsA: How to repeat these commands in Pythonall right. I’ve been through a situation similar to yours, but it’s not exactly the same. What I could propose would be something like this: import time init_time = time.time() while True: end_time…