- Syntax errors
- Runtime errors
- Semantic errors
- Debugger
- Logging
python
Python 初級:第17課 – Pygame貪食蛇遊戲|Snake game
- Pygame lifecycle
- Game loop: event handling, change state, rendering
- Snake game demo
- Object oriented programming (OOP)
Source: https://github.com/learn10kYear/snake-game/blob/master/app.py
Python 入門:Deploy Flask app to Apache – mod_wsgi
- Download and install Apache24 from https://www.apachelounge.com/
- Save to C:\apache24
- Download Build Tools for Visual Studio 2019 from https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019
- Install mod_wsgi: pip install mod_wsgi
- Run mod-wsgi-express module-config, edit Apache24/conf/httpd.conf
- Edit Apache24/conf/extra/httpd-vhosts.conf
- Prepare your flask app, and create app.wsgi file.
- Run the apache web server, and test it with your browser
Python 初級:第16課 – Web Scraping 動態網頁抓取 w/Selenium|網絡爬蟲
- Dynamic web content (script tag)
- Click()
- Send_keys()
Python 初級:第15課 – Web Scraping 靜態網頁抓取 w/Beautiful Soup|網絡爬蟲
- Data extraction with Beautiful soup 4
- Save all web page images to disk
Python 入門:第14課 – Loops – Generator
- Generator function: yield keyword
- Generator expression
Python 入門:第13課 – Loops – Iterable Vs Iterator
- Iterable – for-each-item-loop
- Iterator – get next item in a collection using next()
- Conversion: Iterable to Iterator using iter()
Python 入門:第12課 – 1小時上手Tkinter GUI + PyInstaller 打包EXE
- GUI Programming using Tkinter
- PyInstaller
Python 入門:第10課 – Flask補充1 (route / blueprint / jinja2) (3)
Python 入門:第10課 – Flask補充1 (route / blueprint / jinja2) (3)
- Routes(Methods, querystring, error handler, redirect)
- Blueprint (breakdown app.py into different files)
- Structure (Use of Block)
Python 入門:第9課 – Flask + Database ORM- Flask framework & SQLAlchemy (2)
Python 入門:第9課 – Flask + Database ORM- Flask framework & SQLAlchemy
- Flask web framework
- Using SQLAlchemy (ORM)