Skip to content
Advertisement

Tag: directory-structure

Why does my Python file directory structure not match my Dockerfile output?

My Dockerfile (run by a much larger docker-compose): and the relevant code from the docker-compose.yml: The Python code I’m using to check the directory structure: and its output: I don’t understand why the directory structure seen/output by the Dockerfile would be completely different from the directory structure seen/output by my Python file. For some reason, even though the Python code

Not able to import python files needed in main.py

I have this file structure which i am not too sure is considered good practice. here is the directory structure I am trying to import the content of seed.py and wallet_generation.py into my main.py file. But when I try import the files through a relative path ie (../../bitcoinBackend/seed and ../../bitcoinBackend/wallet_generation) I get errors where the files are not recognized. Im

Advertisement