MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/coding/comments/en3fuo/learn_python_in_7hrs/fe5euc7/?context=3
r/coding • u/Noomeyam • Jan 11 '20
19 comments sorted by
View all comments
3
Get in to the problem. Mac and using Atom.
Traceback (most recent call last): File "/Users/.../Python/pong.py", line 46, in <module> wn.onkeypress(paddle_a_up, "w") AttributeError: '_Screen' object has no attribute 'onkeypress' [Finished in 0.728s]
1 u/ukropusa Jan 12 '20 it is on the line where trying to make paddle_a_up# Keyboard bindingwn.listen()wn.onkeypress(paddle_a_up, "w") 1 u/ukropusa Jan 12 '20 Solved (kinda)!looks like Visual studio run it fine. I think Im missing some packages in Atom. I'll dig dipper
1
it is on the line where trying to make paddle_a_up
# Keyboard binding
wn.listen()
wn.onkeypress(paddle_a_up, "w")
1 u/ukropusa Jan 12 '20 Solved (kinda)!looks like Visual studio run it fine. I think Im missing some packages in Atom. I'll dig dipper
Solved (kinda)!
looks like Visual studio run it fine. I think Im missing some packages in Atom. I'll dig dipper
3
u/ukropusa Jan 12 '20
Get in to the problem. Mac and using Atom.
Traceback (most recent call last): File "/Users/.../Python/pong.py", line 46, in <module> wn.onkeypress(paddle_a_up, "w") AttributeError: '_Screen' object has no attribute 'onkeypress' [Finished in 0.728s]