This repository contain basic structure that may follow for any kinds of python projects
python-project-template/
├── docs
│ └── documentation.md
├── examples
│ ├── hello.py
│ └── __init__.py
├── musicplayer
│ ├── audio
│ │ ├── __init__.py
│ │ └── read_audio.py
│ ├── bar.py
│ ├── foo.py
│ ├── __init__.py
│ └── utils
│ ├── grok.py
│ ├── __init__.py
│ │ └── spam.cpython-37.pyc
│ └── spam.py
├── README.md
└── tests
├── __init__.py
├── test_bar.py
├── test_foo.py
└── test_read_audio.py
You can run any module from python-project-template
directory
python -m tests.test_bar
python -m tests.test_foo
python -m examples.hello
python -m tests.test_read_audio