Oct-22-2020, 04:31 PM
can you make your code fully runnable?
Error:Traceback (most recent call last):
File "test2.py", line 117, in <module>
app.run()
File "test2.py", line 97, in run
self.currentWindow = self.currentWindow(self)
File "test2.py", line 50, in __init__
Button(rect=[W*0.5-100, H*0.5-150, 200, 300], color=[0, 0, 255], hoverColor=[0, 0, 200],
File "test2.py", line 20, in __init__
self.textSurf, self.textRect = text_objects(kwargs.get("text", "Hello World"),
NameError: name 'text_objects' i
Recommended Tutorials: