Python is an open source, free, and general-purpose scripting programming language. It is easy to use, powerful, and adheres to "minimalism". The Python class library (module) is extremely rich, which makes Python almost omnipotent. Whether it is traditional Web development, PC software development, Linux operation and maintenance, or the current hot machine learning, big data analysis, and web crawlers, Python can be competent .
This set of basic Python tutorials is not a textbook, and will not play with concepts, but strives to be colloquial and popular, so that readers can get started as soon as possible.
If a child is learning Python out of interest, please guide him to read the first half of this tutorial, which is the foundation and can reduce learning costs; if you want to fully master Python programming and be competent for actual project development in the enterprise, then you should study this book step by step All chapters of the tutorial.
Tried and tempered, only for the masterpiece; keep improving, consider everywhere; this kind of tutorial, just look at it and fall in love with it.
One: learning catalog
Chapter 1 Basics of Python Programming
1. What is a programming language
2. Compiled and interpreted languages
3. What is Python?
4. What are the characteristics of Python (advantages and disadvantages)
5. To learn Python, no programming foundation is required!
6. What can you do with Python?
7. Python 2.x and Python 3.x, how should beginners choose?
8. The difference between Python 3 and Python 2
9.Python 2to3: Automatically convert Python 2.x code to Python 3.x code
10. Install Python on Windows
11. Install Python on Linux
12. Mac installs Python environment
13.python is not a solution for internal or external commands
14. Write your first Python program
15. Python interactive interpreter
16. Python comments
Chapter 2 Variable Types and Operators
1. Python variables and their use
2.Python variable naming rules
3.Python numeric types (integer, floating point and complex numbers)
4. Python strings
5.Python bytes
6. Python escape character
7. Python format string
8. Python intercepts strings
9.Python string case conversion
10. Python removes spaces in strings
11. Python string manipulation (find, replace, split and join)
12. Python assignment operator
13. Python arithmetic operators
14. Python bitwise operators
15. Python bool type and comparison operators
16. Python logical operators
17.Python ternary operator
18.Python operator precedence
Chapter 3 Lists, Tuples, and Dictionaries
1. Python sequences (lists and tuples)
2. Python list() and tuple()
3. Add elements to Python list list
4. Delete elements from Python list list
5. Python list list modification elements
6. Common methods of Python list
7. Python dictionary
Chapter 4 Python Flow Control
1.Python if else conditional statement
2.Python pass
3. Python assert affirmations
4. Python while loop
5. Python for loop
6. Else usage in Python loop structure
7. Python loop nesting
8. Python list comprehension
9. Python zip function
10.Python reversed function
11. Python sorted function
12.Python break
13.Python continue
14.Python project actual combat digital to RMB reading method
15.Python project actual combat circle circle interview questions
Chapter 5 Functions and Lambda Expressions
1. Python function
2. Python function returns multiple values
3. Python function recursion
4. Python keyword arguments
5. Python default parameters
6. Python variable parameters
7. Python function parameter passing mechanism
8. Python variable scope
9. Python local functions
10. Advanced usage of Python functions
11. Python lambda expressions
Chapter 6 Python Classes and Objects
1. Definition of Python class
2. The creation and use of Python class objects
3.python self
4. Python class calls instance method
5. Python static methods and class methods
6. Python @function decorator
7. Python class namespace
8. Python class variables and instance variables
9. Python property function
10.Python package
11. Python inheritance mechanism
12. Python parent class method rewriting
13.Python super
14.Python __slots__
15.Python type
16.Python metaclass
17. Python Polymorphism
18. Python issubclass and isinstance
19. Python enumeration class
Chapter 7 Python Exception Handling Mechanism
1. Python exception handling mechanism
2.Python try except else
3.Python finally
4.Python raise
5.Python traceback
6. Correct use of Python exception handling mechanism
Chapter 8 Class Special Members (Properties and Methods)
1.Python __repr__
2.Python __del__
3.Python __dir__
4.Python __dict__
5.Python setattr、getattr、hasattr
6.Python __call__
7.Python sequence related operations
8.Python __iter__和__reversed__
9. Python generator
Chapter 9 Python Modules and Packages
1. Python import import module
2. Python custom module
3. Python load module
4. Python __all__ variable
5.Python package
6. Python view module method
7.Python __doc__
8.Python __file__
Chapter 10 Common Python Modules
1.Python sys
2.Python us
3.Python random
4.Python time
5.Python json
6.Python re
7.Python set and frozenset
8.Python queue
9.Python heapq
10.Python ChainMap
11.Python Counter
12.Python defaultdict
13.Python namedtuple
14.Python OrderedDict
15.Python itertools
16.Python functools
Chapter 11. Tkinter
1. Python GUI library
2.Python Tkinter
3.Python Tkinter Pack
4.Python Tkinter Grid
5.Python Tkinter Place
6. Python Tkinter command and bind
7.Python Tkinter ttk
8.Python Tkinter Variable
9.Python Tkinter compound
10.Python Tkinter Entry和Text
11.Python Tkinter Radiobutton和Checkbutton
12.Python Tkinter Listbox和Combobox
13.Python Tkinter Spinbox
14.Python Tkinter Scale和LabeledScale
15.Python Tkinter LabelFrame
16.Python Tkinter Panedwindow
17.Python Tkinter OptionMenu
18. Python Tkinter dialog box
19.Python Tkinter custom dialog
20. Python Tkinter input dialog
21. Python Tkinter file dialog
22.Python Tkinter askcolor
23.Python Tkinter message box
24. Python Tkinter Menu menu
25.Python tkinter Canvas
26.tkinter Canvas tag_bind
27.Python tkinter Canvas drawing animation
Chapter 12 Python File Operations (I/O)
1.Python pathlib
2.Python os.path
3.Python fnmatch
4.Python open
5.Python read
6.Python readline和readlines
7.Python fileinput
8. Python for loop to read files
9.Python with
10.Python linecache
11. Python writes files (write and writelines)
12.Python us
13.Python tempfile
Chapter 13 Python Database Programming
1. Python database API
2. Python SQLite to create a data table
3. SQLite Expert installation and use
4. Python execute and executemany
5.Python fetchone, fetchmany and fetchall
6.Python executescript
7.Python SQLite create_function
8.Python SQLite create_aggregate
9.Python SQLite create_collation
10. MySQL database download and installation
11.Python pip
12. Python MySQL database executes DDL statements
13.Python MySQL database executes DML statement
14.Python MySQL database execution query statement
15.Python MySQL callproc
Chapter 14 Concurrent Programming in Python
1. What is a thread (multithreading)
2. Python creates threads
3. The life cycle of Python thread
4.Python Thread join
5. Python daemon thread
6.Python sleep
7. Python thread safety (synchronous lock Lock)
8. Python thread deadlock
9. Python condition realizes thread communication
10. Python Queue queue realizes thread communication
11. Python Event implements thread communication
12. Python thread pool
13.Python threading Local
14. Python Timer timer
15.Python schedule
16.Python fork
17.Python Process
18.Python sets two ways to start the process
19. Python uses a process pool to manage processes
20. The method of Python interprocess communication
Chapter 15 Python Network Programming
1. What is a computer network, TCP/IP protocol and port number
2. Python network programming module
3.Python urllib.parse
4.Python urllib.request
5.Python http.cookiejar
6. What is the TCP protocol
7. Python socket establishes TCP connection
8. Python multithreading realizes socket communication
9.Python socket shutdown
10.Python selectors
11. What is the UDP protocol?
12.socket sends and receives data (based on UDP protocol)
13. UDP multicast
14.Python smtplib
15.Python poplib
Chapter 16 Python Documentation and Testing
1.Python pydoc
2.Python doctest
3.Python unittest(PyUnit)
4.Python TestSuite
5.Python setUp和tearDown
6. Python unittest skip test cases
Chapter 17 Python Packaging and Distribution
1.Python zipapp packaging
2.Python PyInstaller
Chapter 18 Python Data Visualization
1. Python Matplotlib installation
2.Python Matplotlib plot
3.Python Matplotlib legend
4.Python Matplotlib time、xlabel、ylabel、xticks、yticks
5.Python Matplotlib subplot
6.Python Matplotlib pie
7.Python Matplotlib draws histograms (bar and barh functions)
8.Python Matplotlib scatter
9.Python Matplotlib contour和contourf
10.Python plot_surface
11.Python Pygal
12.Python Pygal common data graph
13. Python reads csv files
14. Python reads JSON files
15. Python reads network data
Chapter 19 The Python Scrapy Web Crawler
1. What is a web crawler
2. Python Scrapy installation
3. Python Scrapy project creation
4.Python Scrapy shell
5.Python Scrapy crawler project development process
6. Python scrapy crawler data is saved to MySQL database
7. Python Scrapy breaks through the anti-crawler mechanism
8. Python Scrapy anti-reptile solution
9.Python Scrapy integrates Selenium
2. Learning curve
3. High-quality resources
This resource has a total of 800G, which is permanently stored and will be continuously updated. It is recommended that you forward and save it for future search and study;
This is just a screenshot of a small part of the data ~
4. Obtaining methods
If you are interested, you can take a look at my mysterious number code J2030998. I will give you a link to the information. If you are interested, don’t forget to like it before leaving~