Skip to content

Conversation

ianthompson2011
Copy link

Addressing Import Issues

Changes Made:

  1. In main.py: import statements did not configure properly to external files. Using . is no longer a viable feature for import statements in newer versions of Python, so I have changed imports from (for example) .player to justplayer. This applies to five other imports:
    from player import Player from background import Background from button import Button from bean import Bean from utils import clamp from utils import checkCollisions
  2. In background.py: colorsys was used in this file. However, it was never imported at the top of the file. This was added: import colorsys
  3. A .gitignore was added to avoid binaries from entering the repo in order to avoid any issues with future forks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant