新竹職訓所 Python 課堂筆記整理的學習資源
常用的資源:
Python 系列中文教學:
https://steam.oxxostudio.tw/category/python/library/random.html
w3schhol 查語法範例:
https://www.w3schools.com
Python 基礎教學目錄:
https://shengyu7697.github.io/python-tutorial/
其他自學學習管道:
高見龍|為你自己學 PYTHON
給新手的 Python 程式學習書:
https://pythonbook.cc
Python101
https://hackmd.io/@lhsueh1/python101
Amulya's academy Python 教學影音
Kaggle 可以拿資料集練習的平台
https://www.kaggle.com/
程式柴 最熱門的影片,可以選想要的主題精華看
https://www.youtube.com/@CodeShiba/videos
IDE 設定:
Mac 安裝 Pycharm 教學
https://hackmd.io/@ntust-ossda/B1iJb51Pi
使用 vscode 執行有時候指定了還是沒真正切換到該版本,要重新開啟 shell terminal。
檢查 Python 版本:
➜ ~ python3 --version
Python 3.12.4
檢查 Python 位置:
(testvenv) ➜ env_test which python
/Users/larry/Github/env_test/testvenv/bin/python
*後記:新手或是輕度使用者,不太需要建立,到後期變成一大堆 venv
使用內建 venv 建立虛擬環境:
python3 -m venv myenv
source myenv/bin/activate
pip install <package-name>
pipenv 建立/啟動 虛擬環境:
pipenv --python 3.12
# 指定版本
pipenv install <package-name>
# 安裝套件
pipenv run python main.py
# 執行 main.py
pipenv shell
# 啟動虛擬環境
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing