04Python Syntax - Basic Data Type - String
String Assignment
Single quotation mark assignment
a = 'this is a string'
print(a) # this is a string```
Double Quote Assignment
a = "this is a string"
print(a) # this is a string
Assignment of a three-quote string to a variable (multiple lines)
Retains the newline format of the string
# Triple Form
a = '''this is
a string'''
prin ...
Added by gabrielserban on Sun, 20 Feb 2022 19:53:44 +0200
Weekend homework - circular exercises
***
Output 'hello world', input input, output print print('hello world')
Define variables, variable names and identifiers, which are composed of letters, numbers or underscores, and numbers cannot start. Variables cannot be named with keywords. Keywords - some identifiers with special functions or special meanings in python. a = 15 print(a ...
Added by jordan on Sun, 20 Feb 2022 19:47:28 +0200
[customized project] [M13] [data monitoring + data analysis + large visual screen] - Key Technology Python Flash + pandas + ecarts + Excel
catalogue
1, Project requirements
2, Project architecture
3, Project source code analysis
1. http server: Python Flask framework;
http code
Interface resolution
2. File monitoring: Python win32con module;
Monitoring code
Code parsing
3. Data analysis: Python Pandas library;
Pandas Series code
File example
4. Data visualization: ech ...
Added by miracle_potential on Sun, 20 Feb 2022 18:23:55 +0200
YOLOv5 usage notes
Friendly participation: @Cotton cotton
YOLO is a target detection method, which is characterized by fast detection and high accuracy. The author regards the target detection task as a regression problem of target region prediction and category prediction. This method uses a single neural network to directly predict the boundary and cate ...
Added by petrb on Sun, 20 Feb 2022 18:11:05 +0200
QtDesigner design IV (The QResource System)
The QResource System
Writing an application requires not only code, but also a lot of icons in the interface. Your application will even load data and so on.The dispersion of application data files is a common cause of this problem. If the data file you reference has a path, your application will only work if the correct path is given. But ...
Added by bmw57 on Sun, 20 Feb 2022 18:02:45 +0200
Day5 ape learning progress punch in
Daily summary
review
This week's mind map
[the external chain picture transfer fails. The source station may have anti-theft chain mechanism. It is recommended to save the picture and upload it directly (IMG eoqdofz3-1645362548051) (C: \ users \ ASUS \ pictures \ data analysis process \ unnamed file (11)] png)
Homework concern
# High ...
Added by gravedig2 on Sun, 20 Feb 2022 17:33:04 +0200
Python tkinter based GUI programming
tkinter is Python's standard GUI Library ("Tk interface"). Python uses tkinter to quickly create GUI applications.
Since tkinter is built into the python installation package, you can import tkinter library as long as Python is installed. Moreover, IDLE is also written with tkinter, which can cope with simple graphical inter ...
Added by and1c on Sun, 20 Feb 2022 16:02:34 +0200
Lambda function of Python
The art and Tao of Python Programming: an introduction to Python language Link to the video course "the art and Tao of Python Programming: an introduction to Python language": https://edu.csdn.net/course/detail/27845
Lambda function
Lambda function is an in-line function without a name. It is often called an anonymous function.
The ...
Added by deano2010 on Sun, 20 Feb 2022 15:54:40 +0200
[Hard Python] [Chapter 2 - asynchronous IO] 2. Execution of asynchronous tasks in event loop
Continue First words After the event loop is created, how to run the concurrent task and asynchronous IO task? By asyncio The code of run shows that loop run_ until_ Complete is the method of running a collaborative process. It is defined as follows:
# base_events.py
class BaseEventLoop(events.AbstractEventLoop):
def run_until_complete(s ...
Added by ashrust on Sun, 20 Feb 2022 15:45:08 +0200
Python is too fast to make this cool visual report
Hello, it's a very common way to share your opinions by using charts in data display. This is one of the reasons why business intelligence dashboards such as Tableau and Power BI continue to be popular. These tools provide exquisite graphical interpretation of data.
Of course, these tools also have many disadvantages, such as they are not flex ...
Added by jini01 on Sun, 20 Feb 2022 12:49:50 +0200