---
# System prepended metadata

title: Python 101

---

# Python 101

### 07/13

基本操作與安裝

1. [Python for beginner](https://www.python.org/about/gettingstarted/)
    1. https://docs.python.org/3/using/mac.html
    1. [使用 VSCode](https://code.visualstudio.com/docs/python/python-tutorial)
1. [Start VSCode in workspace folder](https://code.visualstudio.com/docs/python/python-tutorial#_start-vs-code-in-a-workspace-folder)
1. Shortcuts

```
Ctrl+`
// 輸入 python3 --version
// 輸入 pyth + tab
3.9.6
// 輸入 pwd

Shift+Cmd+P
```
1. https://code.visualstudio.com/docs/python/python-tutorial#_create-a-python-source-code-file

### 開始寫 python 

https://code.visualstudio.com/docs/python/tutorial-django

目標
1. 使用 python venv，使用 vscode 切換 venv
2. 啟動 django server ，並透過 browser 存取網頁 http://127.0.0.1:8000/
3. [新增 hello 的 django app (需要移除撞名的 .py 檔案)」](https://code.visualstudio.com/docs/python/tutorial-django#_create-a-django-app)

### 07/??

初探 flask
https://code.visualstudio.com/docs/python/tutorial-flask
 
### 07/??

初探 https://code.visualstudio.com/docs/python/tutorial-fastapi

### 07/?? 上課

選擇喜歡的課程
- https://pyflo.net/
- youtube python 基礎語法課