Pythonnet Network 3UDP communication Recvfrom SendToFork Multi-process concurrencyThreading Multithreading concurrencySocketserver System ModuleSocket Properties SetSockOpt getsockopt#############FTP File Server1. Get a list of files;2, be able to
Python positioning
Variable
User-to-program interaction
Basic data types
Formatted output
Basic operators
if...else of Process Control
Process Control while loop
Process Control for loop
Extended Reading
Homework
Python
Serialization of
Serialization refers to converting the data type in memory into a string so that it can be stored on the hard disk or transmitted over the network to the remote, because the hard disk or the network can only accept bytes
04_ Project Combat
Initialization and exit of PygamePygame.init () Pygame.quit () exit ()
Pygame. Rect (X,y,width,height) class describing a rectangleContains the following properties (x, y, size, width, height, left, right, top, bottom,
A primer1 What is data?x=10,10 is the data we want to store.2 Why data is divided into different typesData is used to represent States, and different States should be represented by different types of data.3 Data typesNumbers (shaping, long-shaped,
Get the current date format in source python: https://www.cnblogs.com/wenBlog/p/6023742.html#!/usr/bin/python# -*- coding: utf-8 -*-import timeprint (time.strftime("%H:%M:%S"))## 12 hour format ##print (time.strftime("%I:%M:%S"))import timeprint
First, the function related concepts1. Global variables: Outside the function, the variable defined above is the global variable2. Local variables: defined in the function, can not be used after the function, if you want to modify the value of the
02_python Foundation _day06
Definition of a stringStrings are a string of characters, enclosed in a pair of single or double quotation marks.
string slicesSlicing is the use of index values to cut out small strings from a large string for
1 ## Python Determines if a variable has been defined2 3 detect if a variable is defined in Python4 5 The first method uses the built-in function locals ():6 locals (): Get Dictionary of defined objects7 8 'TestVar' inchlocals (). Keys ()9 Ten The
Tag: Precedence equals ESS requires logical statement result while loop%sA. While loopBasic usage:While condition: Code Block 1Else Code Block 2Running process: 1) When the condition is set, execute code block 12) again determine if the
Although according to the course node this week is the second week, but who let me skip class in the first week (overtime), the record of the mental journey from this week began to write.Last week's class although did not go to, but after class has
Exercises:
Use lambda and filter to complete the following functions: Output a list containing all the even numbers within 1-100. (Hint: can use FILTER,LAMBDA)[ x for x in range(1,101) if x%2==0]def func(x): return x % 2 == 0new_list =
Python is the language of fire in the last two years, why use it and what are the benefits of it I will not nonsense, straight cut the topic:The unspoken rules of development are: when you learn a language and always start with "Hello World", I
class represents a database table
The object of the class refers to a row of records in the database
The FK field refers to a row of data in the associated table
Manytomany field, automatically generates the third table: Dependency table
Ⅰ. Variable naming conventions:1. Numbers and letters and underscores begin with;2. Cannot be the beginning of a number, not a pure number;3. case-sensitive;4. cannot be a keyword;5. Do not use Chinese;6. To make sense;7. The length should not be
The Python language is a language that is very sensitive to indentation, confusing to many beginners, and even a very experienced Python programmer can be caught in a trap. The most common scenario is that the mix of tab and space results in an
03_ Object-oriented _day01
An object-oriented abbreviation?Object-oriented programming--object oriented programming shorthand OOP, is a programming idea or method
Object-oriented and process-oriented differences?Process-oriented is an early
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