How would I import config.py
from the current working directory? Why does import ..config
return the following error: ImportError: attempted relative import with no known parent package
?
main_directory
|
|
|--sub_directory
| |
| |
| current_working_directory
|
|
config.py