I have the following structure:
edgar_sec
│ ├── __init__.py
│ ├── logs
│ ├── requeriments.txt
│ ├── resources
│ │ ├── __init__.py
│ │ ├── us_states.py
│ │ └── us_stocks_symbol.csv
│ ├── scripts
│ │ ├── __init__.py
│ │ ├── company_info.py
│ │ ├── financial_reports.py
│ │ └── insiders.py
│ └── tests
│ ├── __init__.py
│ ├── company_info_test.py
│ ├── company_info_test2.py
│ └── sec_insiders.py
I want to import us_states.py into company_info_test2.py, so I'm doing import edgar_sec.resources.us_states but I'm getting ModuleNotFoundError: No module named 'edgar_sec'
What is wrong?
from edgar_sec.resources import us_states?ModuleNotFoundError: No module named 'edgar_sec'