沒有固定的項目結構,推薦使用下面這種方式建立目錄結構
```
root@airvip:~/python_app/flask-demo# tree
.
├── app
│?? ├── admin # admin模塊
│?? │?? ├── controller
│?? │?? ├── __init__.py
│?? │?? └── model
│?? ├── api_1_0 # api 模塊
│?? │?? ├── controller
│?? │?? │?? ├── index.py
│?? │?? │?? ├── __init__.py
│?? │?? │?? ├── passport.py
│?? │?? │?? └── user.py
│?? │?? ├── __init__.py
│?? │?? └── model
│?? │?? ?? ├── __init__.py
│?? │?? ?? └── user.py
│?? ├── constants.py
│?? ├── html.py
│?? ├── __init__.py
│?? ├── lib # 第三方庫
│?? ├── static # 靜態資源
│?? │?? ├── css
│?? │?? │?? └── style.css
│?? │?? ├── favicon.ico
│?? │?? ├── html
│?? │?? │?? └── index.html
│?? │?? ├── img
│?? │?? └── js
│?? ├── tasks # 任務目錄,可以作為單獨項目
│?? │?? ├── compute
│?? │?? │?? ├── __init__.py
│?? │?? │?? └── tasks.py
│?? │?? ├── config.py
│?? │?? └── __init__.py
│?? │??
│?? ├── templates # 模板目錄
│?? │?? └── api
│?? │?? ├── base.html
│?? │?? └── index.html
│?? └── utils
│?? └── commons.py
├── logs # 日志目錄
│?? ├── log
│?? └── log.1
├── .gitignore # tree沒有生成,我自己補得
├── config.py # 配置文件
├── manage.py # 啟動文件
└── readme.md # 使用說明
```