Python应用实例

The Python programming language is actively used in industry and academia for a wide variety of purposes.

1. Python的教育用途

As of 2005, Python is getting more popular for teaching computer programming. Its strengths for teaching include its syntactic simplicity, flexible typing, and interactive interpreter.

Python uses far fewer symbols than languages like Java and C. For example blocks inside loops and IF statements are indicated by indentation rather than curly braces ({}), and the end of a line does not have to have a semicolon. Beginning students often have initial trouble with memorizing where curly braces and semi-colons go. With Python students can skip directly to the fun part of writing code that does something. Similarly, with Java, and C++, variables types must be declared before being used. That is not needed in Python which again allows students to quickly get to the interesting part of getting their program to do something.

The interactive interpreter is an extremely valuable aid to learning and experimentation. Learning-by-doing is about trying things out and seeing what happens. The faster you can get results from your experiment, the faster that learning produces results. Experience has shown that the interactive interpreter and lack of a compiler really speeds up the learning process, both for beginners and for pros who are learning a new library and such.

2. 使用Python的大型组织

3. 使用Python写成的软件

4. Python包

The Python Cheese Shop and Vaults of Parnassus are two primary directories of hundreds of Python packages

See more recommended modules at Useful Modules in the Python.org wiki.

5. Python软件目录

Python介绍/Python应用实例 (2008-02-23 15:35:53由localhost编辑)

ch3n2k.com | Copyright (c) 2004-2020 czk.