i am a newbie. I am trying to import simple python file into my main file. The same code work on my mac but it does not work on my pc. I keep getting this error massage. “AttributeError: module ‘logo’ has no attribute ‘hammer_logo'”
first file
auction.py
code
import logo
print(logo.hammer_logo)
second file
code
hammer_logo = “HAMMER”
I use visual studio code, i know it is not code error cuz i test on my mac and it work. It is visual studio error or pc error?
Please help me out, i wanna continue writing code but this is legit giving me hard time.
I watch yt videos and could not find any solution. So I tired stackover flow cuz chatgpt to recommend me. This is first time i am using this site.
Yone2 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.