Python Language

Python Language

#python

1

1: Python

2

2

2

Python 3.x

2

Python 2.x

3

Examples

3

3

.

3

, IDLE Python

4

Hello World Python

4

Python

5

6

6

6

6

10

IDLE - Python GUI

11

11

12

12

12

12

13

13

13

14

14

15

15

16

20

20

21

24

25

- str () repr ()

26

repr ()

27

str ()

27

pip

27

/

28

28

28

Python 2.7.x 3.x

29

2: "pip" : PyPI Package Manager

32

32

32

Examples

32

32

ImportError

33

33

3: * args ** kwargs

34

34

h11

34

h12

34

h13

34

Examples

35

* args

35

** kwargs

35

* args

36

** kwargs

36

* args

36

37

kwarg

37

** kwargs

37

4: __name__

39

39

39

Examples

39

__name__ == '__main__'

39

1

39

2

39

function_class_or_module .__ name__

39

41

5: `exec``eval`

42

42

42

42

Examples

42

exec

42

eval

42

42

eval

43

ast.literal_eval

43

exec, eval ast.literal_eval

43

6: 2to3

45

45

45

45

Examples

45

45

46

Windows

46

46

Windows

46

7: AMQPStorm RabbitMQ

47

47

Examples

47

RabbitMQ

47

RabbitMQ

48

RabbitMQ

48

8: ArcPy

51

51

Examples

51

51

createDissolvedGDB gdb

51

9: Asyncio

52

Examples

52

52

53

UVLoop

54

:

54

54

54

55

asyncio

55

10: base64

57

57

57

57

58

Examples

59

Base64

59

Base32

60

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

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

Google Online Preview   Download