0

In one file I create a class called Player, but when I try to create an object of that class in another file I'm told that global name "Player" is not defined. Why would this be?

Edit: At the top of the second file, I say "from player import *" and the Player class is stored in player.py

4

0 回答 0