Ten years Python Daniel took three days to summarize the Python basic knowledge of the example, super detailed!

Source: Internet
Author: User

1. In the Python language, objects are passed by reference.

2, multivariate assignment, in fact, is the tuple assignment

3, write the module

4. Always remember a fact

5. Dynamic type

6. Variables in memory are tracked by reference counting to manage

7. Exception Handling

8. All Python has three features in the image

9. Boolean value

10. Object Identity Comparison

11. CMP ()

12, str () and repr ()

13, Isinstance () and type (), the main embodiment is the optimization of the code

14. Classification of standard types

15. Operations between different data types

16. Python Division:

17. Factory function

18. Built-in function

(1) built-in functions for all data types:

(2) built-in functions for integers:

19. Boolean value

20. Digital Type related module

21, random number, to import the random module

Example:

22. Member relationship operator (in, Notin)

23, Len () function, you can get the sequence length

24. The elements in the access sequence can use a negative index

25. Sequence slicing operation

26. String, sequence, tuple type conversion

27. Built-in functions available for sequence types

28. String

29. String Module

30. String formatting

31. Original string

32. Unicode string operator (u/u)

33. String built-in function

    • Various built-in functions, see API

34, string three quotation marks

35. String immutability

36. Unicode string

37. List

38, meta-group

39. Dictionaries

40. Collection

41. Conditions and cycles

42. Abnormal

43. Functions

44. Module

45. Object-Oriented Programming

Ten years Python Daniel took three days to summarize the Python basic knowledge of the example, super detailed!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.