Login.pyというファイルからクラス「プレーヤー」(Player.py内)の新しいインスタンスを作成しようとしています
import Player
pfile = "data/players/" + username
s = shelve.open(pfile)
s(username = Player.player(username, password, False))
そして、それから私は得ます:
AttributeError: 'module' object has no attribute 'player'
オブジェクトを作成し、そのキーがプレーヤーのユーザー名である辞書に配置できるようにしたいのですが、何が間違っていますか? ありがとう