One suggestion is to avoid wildcard imports.
You can find some information and alternatives here here.
Also in Ball.update
you have a command before the docstring which is confusing.
Lastly you might want to use a tool like PyLint if you want to enforce some style guidelines. For example I see that several lines in your code exceed 80 characters and at some parts you have more than 3 empty lines which is not recommended.
One suggestion is to avoid wildcard imports.
You can find some information and alternatives here.
Also in Ball.update
you have a command before the docstring which is confusing.
Lastly you might want to use a tool like PyLint if you want to enforce some style guidelines. For example I see that several lines in your code exceed 80 characters and at some parts you have more than 3 empty lines which is not recommended.
One suggestion is to avoid wildcard imports.
You can find some information and alternatives here.
Also in Ball.update
you have a command before the docstring which is confusing.
Lastly you might want to use a tool like PyLint if you want to enforce some style guidelines. For example I see that several lines in your code exceed 80 characters and at some parts you have more than 3 empty lines which is not recommended.
One suggestion is to avoid wildcard imports.
You can find some information and alternatives here.
Also in Ball.update
you have a command before the docstring which is confusing.
Lastly you might want to use a tool like PyLint if you want to enforce some style guidelines. For example I see that several lines in your code exceed 80 characters and at some parts you have more than 3 empty lines which is not recommended.