Python is becoming the world’s most popular coding language>

授課老師: 王經篤 (jdwang@asia.edu.tw)(Office :I517, Ext: 1847)

課程進度:



課前預習:學生須先下載上課程式資料。


錄影工具:EverCam (亞大有授權)

參考書:

Python程式設計實務:從初學到活用Python開發技巧的16堂課(第二版) 作者: 何敏煌 出版社:博碩 出版日期:2018/07/1

【GitHub 上破萬顆星】Python 新手 100 天學習計劃,這次學不會算我輸!


課後自行研習
Chapter 06: 網頁測試自動化
Chapter 06 範例
Test:網頁測試自動化


Chapter 11: PM2.5 即時監控顯示器(Pandas)
Chapter 11 範例
ch11/dataframe1.py
ch11/dataframe2.py
ch11/dataframe3.py
ch11/datatake1.py
ch11/datatake2.py
ch11/datatake3.py
ch11/datatake4.py
ch11/datatake5.py
ch11/datatake6.py
ch11/datamodify1.py
ch11/datasort1.py
ch11/datadrop1.py

匯入資料

anaconda Prompt>conda install html5lib
原物料商品行情 http://www.stockq.org/market/commodity.php
ch11/readhtml1.py
ch11/table.py
ch11/dataplot1.py
ch11/tkpm25csv.py
https://opendata.epa.gov.tw/Home/Index
(404 - 找不到檔案或目錄)http://opendata.epa.gov.tw/ws/Data/REWXQA/?$orderby=SiteName&$skip=0&$top=1000&format=csv


Chapter 12: 臉部辨識 (OpenCV)
Chapter 12 範例

Anaconda Prompt> conda install -c https://conda.anaconda.org/menpo opencv3 (OpenCV 和 python 3.6 不相容問題?)
Anaconda Prompt> conda install -c conda-forge opencv Anaconda Prompt> conda install --channel conda-forge pillow=5
Chapte 12 範例
(檔案總管: search the path of "haarcascade_frontalface_default.xml"=> Repleace the path "casc_path" )
=>casc_path = "C:\\ProgramData\\Anaconda3\\Library\\etc\\haarcascades\\haarcascade_frontalface_default.xml"
顯示圖形(OpenCV): ch12/showimage1.py

How to install PIL on Spyder(Anaconda 3)?
儲存圖形(OpenCV): ch12/saveimage1.py

圖形繪圖(OpenCV): ch12/basicplot1.py

人臉偵測(OpenCV): ch12/detectFace1.py

人臉偵測(OpenCV): ch12/saveFace1.py


Chapter 14:檔案搜尋 (OpenCV)
Chapter 14 範例
jpg files: ch14/photoRenum.py

mp3 copy: ch14/mp3Copy.py

Same Photos(hashlib.dm5()): ch14/FindSamePic.py

Photos Same Size: ch14/photoReSize.py

找指定文字(Txt): ch14/FindKeyWord.py

找指定文字(Word): ch14/FindKeyWord2.py

找指定文字(py,txt,word): ch14/FindKeyWord3.py