因學校習作需要而研究Python
使用教材:Python3.4.1 Official Documentation - The Python Standard Library
Chapter 1 Basic Information of Python
1) Nature of Python: a high-level, interpreted language
2) Aim of Python: to automate tasks on computers
3) Examples of usages:
- perform a search-and-replace over a large number of text-files
- rename and rearrange a bunch of photo files
- write a specialized GUI application
- write a small custom database
- write a simple game
4) Advantages of using Pythons:
- simple to use
- support multiple developing platforms (Window, Mac OS X, Unix OS)
- provide much error-checking
- reusable (split your program into modules)
- extensible (add built-in functions/modules, link to libraries, link with other applications)
- support high-level data types built-in (e.g: flexible arrays, dictionaries)
5) Characteristics of Python
- statement grouping is done by indentation (not brackets)
- no variable or argument declarations are necessary