Python Language

Python Language

#python

1

1: Python

2

2

3

Python 3.x

3

Python 2.x

3

Examples

4

4

, Python

4

, Python, IDLE

5

Hello World Python

6

Python

6

-

7

8

8

9

14

IDLE - Python

15

15

16

16

16

17

18

18

19

19

20

21

21

22

26

27

28

33

34

- str () repr ()

35

()

35

()

36

pip

36

/

37

37

38

Python 2.7.x 3.x

38

2: * args ** kwargs

42

42

h11

42

h12

42

h13

42

Examples

43

* args

43

** kwargs

43

* args

44

** kwargs

45

* args

45

46

kwarg

46

** kwargs

46

3: ArcPy

48

48

Examples

48

48

createDissolvedGDB gdb

48

4: ChemPy - python

49

49

Examples

49

49

49

49

50

50

( )

50

5: Conditionals

52

52

52

Examples

52

if, elif,

52

( ? ?)

52

53

Else statement

53

54

54

54

55

55

56

cmp,

57

List List

57

, None

58

6: ConfigParser

60

60

60

60

Examples

60

60

61

7: ctypes

62

62

Examples

62

62

62

62

63

ctypes

63

ctypes

64

ctypes

65

65

8: Enum

67

67

Examples

67

(Python 2.4 3.3)

67

67

9: hashlib

68

68

Examples

68

MD5-

68

, OpenSSL

69

10: Heapq

70

Examples

70

70

70

11: HTML-

72

Examples

72

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download