I have no idea why my import doesnt work.
My folder structure
Garage_Parking
__init__.py
database.py
rpi_components
__init__.py
NFC_Security.py
I want to import database in NFC_Security.py. I typed
from Garage_Parking import database
It just keep giving me this error
Traceback (most recent call last):
File "NFC_Security.py", line 6, in <module>
from Garage_Parking import database
ImportError: No module named Garage_Parking
I appreciate any help.