Code sample for Asia University 1092 Advanced Computer Programming.
一些基本的問題先看下面的 注意 條目
Some simple problem try to find solution in Notice subject, at bottom of this page
資料夾 (File Directory)
- Week7/WordListDemo.py
- Week7/engWordList_1.csv
- Week7/GetProjectList.py
- Week7/projectList.csv.py
資料夾 (File Directory)
- Week5/Exercise.py
- Week5/ExerciseEn.py (Eng. Ver)
- Week5/Homework.py
- Week5/HomeworkEn.py (Eng. Ver)
資料夾 (File Directory)
資料夾 (File Directory)
課堂練習 | Exercise
作業 | Homework
各程式需要用到的模組我會寫在程式碼開頭,檢查模組是否已安裝的方法如下
The required modules in program, I wrote it on the top of the source code, to check the module are installed, follow the stpes below:
執行程式後若終端機報下方錯誤碼,則代表模組 requests 尚未安裝
Run .py file and if you see Terminal return this error message, that means module "requests" doesn't installed
Traceback (most recent call last):
File "<stdin>", line 1, in
ModuleNotFoundError: No module named 'requests'
也可以在終端機中輸入
You also can type the command below into Terminal
pip show <模組名稱 (Module Name)>
If Terminal return the message below, it also means module doesn't installed
WARNING: Package(s) not found: <模組名稱 (Module Name)>
若要安裝模組,在終端機中輸入
To install the module, type the command below into Terminal
pip install <模組名稱 (Module Name)>
python -m pip install <模組名稱 Module Name>
If still not working, then you should reinstall Python, and while you installing, be sure you checked the box called something like "Add python to PATH". To know more detail you can found it in this link
安裝完後再將電腦重新啓動
Then reboot your computer when you finished install
Author: 109021331 CYouLiao