News from this site

 Rental advertising space, please contact the webmaster if you need cooperation


+focus
focused

classification  

no classification

tag  

no tag

date  

no datas

Python学习笔记合集(总结)

posted on 2023-05-21 18:12     read(692)     comment(0)     like(11)     collect(2)


Collection of Python study notes

Collection of Python study notes (summary)

Click on the blue font to jump to the details page

On the first day, I mainly talked about basic Python statements (Part 1)

Python Basic Statements (Part 1)

  1. note
  2. output
  3. identifier
  4. multi-line statement

On the second day, I mainly talked about the basic statements of Python (Part 2)

Python Basic Statements (Part 2)

  1. Lines and indentation
  2. keywords
  3. type of data

The third day mainly talked about import package (library) and Python conditional statement

import import package (library) and Python conditional statement

  1. import package (library)
  2. Conditional statements
  3. branch statement
  4. multi-branch statement

The fourth day mainly talked about Python loop statements

Python loop statement

  1. While loop statement
  2. For loop statement
  3. nested loop statement
  4. break statement
  5. continue statement
  6. pass statement

The fifth day mainly talked about PythonNumber integers

PythonNumberInteger

  1. Four different numeric types are supported
  2. Number type conversion
  3. math function
  4. random number function
  5. Trigonometric functions
  6. mathematical constant

The sixth day mainly talked about Python strings

python string

  1. access a value in a string
  2. string operators
  3. string formatting

The seventh day mainly talked about Python lists

Python list

  1. the list
  2. Add list element
  3. delete list element

The eighth day mainly talked about Python tuples

Python tuple

  1. tuple
  2. tuple operator
  3. tuple built-in functions

The ninth day mainly talked about Python dictionaries

python dictionaries

  1. dictionary
  2. create empty dictionary
  3. access the values ​​in the dictionary
  4. delete dictionary element
  5. Properties of Dictionary Keys
  6. Dictionary built-in functions and methods

The tenth day mainly talked about Python collections

Python collection

  1. gather
  2. Basic operations on collections
  3. Complete list of collection built-in methods

The eleventh day mainly talked about iterators and generators

Iterators and Generators

  1. iterator
  2. StopIteration
  3. Builder

The twelfth day mainly talks about Python date

python date

  1. date and time
  2. time tuple
  3. time date format

The thirteenth day mainly talked about Python functions

python function

  1. define a function
  2. function call
  3. Parameter passing
  4. pass mutable object instance

The fourteenth day mainly talked about Python file I/O

Python file I/O

  1. Open and close files
  2. Properties of the File object
  3. file location

The fifteenth day mainly talked about the Python os module

Python os module

  1. Rename and delete files
  2. Table of contents

The sixteenth day mainly talked about Python object-oriented (on)

Python object-oriented (Part 1)

  1. Introduction to Object-Oriented Technology
  2. create class
  3. Create an instance object
  4. access properties

The seventeenth day mainly talked about Python object-oriented (below)

Python object-oriented (Part 2)

  1. built-in class properties
  2. Object destruction (garbage collection)
  3. class inheritance
  4. Class Properties and Methods

The eighteenth day mainly talked about Python regularization

Python regular

  1. regular expression
  2. search and replace

The nineteenth day mainly talked about the Python database (on)

Python database (on)

  1. What is MySQLdb?
  2. How to install MySQLdb?
  3. Database Connectivity
  4. Create database tables
  5. database insert operation

The twentieth day mainly talked about the Python database (below)

Python database (Part 2)

  1. Database query operation
  2. Database update operation
  3. Database delete operation
  4. Execute business
  5. error handling

The twenty-first day mainly talks about Python network programming

Python network programming

  1. What is Socket?
  2. socket() function
  3. Socket object (built-in) methods
  4. Python Internet Module

The twenty-second day mainly talks about sending emails with Python (Part 1)

Sending mail with Python (Part 1)

  1. SMTP service
  2. SMTP access from mail provider

The twenty-third day mainly talked about sending emails with Python (Part 2)

Sending mail with Python (Part 2)

  1. Python sends email in HTML format
  2. Python send email with attachment
  3. Add pictures to HTML text

The twenty-fourth day mainly talks about Python threads (Part 1)

Python threads (Part 1)

  1. Start learning Python threads
  2. thread module
  3. Create threads using the Threading module

The twenty-fifth day mainly talked about Python threads (Part 2)

Python thread (Part 2)

  1. thread synchronization
  2. Thread priority queue (Queue)

The twenty-sixth day mainly talked about Python JSON

Python JSON

  1. JSON function
  2. Use a third-party library: Demjson

Relevant information:

Python study notes Numpy collection (summary)



Category of website: technical article > Blog

Author:evilangel

link:http://www.pythonblackhole.com/blog/article/25346/58bdba73025f7431e278/

source:python black hole net

Please indicate the source for any form of reprinting. If any infringement is discovered, it will be held legally responsible.

11 0
collect article
collected

Comment content: (supports up to 255 characters)