Why am I getting AttributeError?
Why am I getting AttributeError? I have a file named Player.py and in that file I have a class called Player. To use it I do
import Player
player = Player.Player()
How can I do it right?
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 4, 2021, 7:06 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 4, 2021, 6:57 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 4, 2021, 7:02 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 4, 2021, 6:43 AM EDT
Barathi98 reputationPosted Apr 4, 2021, 6:56 AM EDT
Barathi98 reputationPosted Apr 4, 2021, 7:00 AM EDT
Barathi98 reputationPosted Apr 4, 2021, 7:04 AM EDT
Barathi98 reputationPosted Apr 4, 2021, 7:09 AM EDT
Salman BegRank #284 · 8.8K reputationPosted Apr 4, 2021, 6:16 AM EDT