I. Small Data Pool
1. Small Data Pool Definition
Small data pool (constant pool), a data caching mechanism, is also known as resident mechanism. Small datapools are only for integers, strings, and Boolean values. There is no resident mechanism for other data types.
2. Definition of various types of datapools
In python, integers ...
Posted on Sun, 11 Aug 2019 06:41:55 -0700 by Jalz
Introduction of paramiko Module
"Paramiko" is a combination of "paranoia" and "friend" in Esperanto. It is a module of Python 2.7/3.4 + and implements SSH2 protocol for secure (encryption and authentication) connections to remote machines. Unlike SSL (also known as TLS) ...
Posted on Thu, 01 Aug 2019 00:06:13 -0700 by k3Bobos
Unit Testing: Developing code written during self-testing
Fundamentals of unittest:
The whole platform is built using python's unittest test framework. Here is a brief introduction to the simple application of the unittest module.
unittest is python's Standard Test Library and is the most widely used test framework for Python compared to oth ...
Posted on Tue, 30 Jul 2019 12:17:28 -0700 by daredevil88
The first chapter introduces the basic data types in python. This chapter focuses on the application of str string type data in python. str strings are mainly composed of two methods, one is method, the other is magic method. Because there are too many contents, this chapter only introduces the metho ...
Posted on Mon, 22 Jul 2019 02:55:15 -0700 by jordanwb
This is the fifth article on Python. It mainly introduces how to pass parameters and how to design its own functions.
This paper mainly introduces two methods of parameter transfer.
When calling a function, parameters are passed according to the position of parameters defined by the function.
1 def right_triangle_area(a ...
Posted on Wed, 03 Jul 2019 14:24:38 -0700 by derrtyones
1. Improve self-cultivation
2. People who are ugly need to read more books.
3. Walk more and broaden your horizons
1. List and tuple operations
2. String operation
3. Dictionary operation
dict is disordered
key must be unique
4. Collection operations
A set is an unordered, non-repetitive data combination whose main ...
Posted on Wed, 22 May 2019 14:15:36 -0700 by Terrum
Original articles are welcome to be reproduced. Reprinted please note: reprinted from IT Story Club Thank you!Original Link Address: python's docker crawler technology - python script app crawler (13)
Last time, we have analyzed the connection of specific app requests. This time, we mainly talk about the development of python and grasp the ...
Posted on Sun, 19 May 2019 18:06:46 -0700 by betportal
Python's four functions:
1. General functions
2. Default function
3. Keyword function
4. Collecting parameters
1. General function
a. Define variable names directly when defining
b. Place variables or values directly in the specified location when invoking
def function name (parameter 1, parameter 2...): Function ...
Posted on Fri, 17 May 2019 18:26:29 -0700 by backinblack
Development environment: python: 3.7.3 download address: https://www.python.org/downlo... pip: pip3 Django: 2.2 Download Address: https://www.djangoproject.com... PyCharm: Download address for 2017.2: https://www.jetbrains.com/pyc...
2. Basic knowledge
1.Python: Python originated in the late 1980s.The developer is ...
Posted on Thu, 16 May 2019 22:53:16 -0700 by Timma
1. Implementing Functions
First, we need to implement that we can get the content directly by entering each word in pycharm.
2. Implementation steps
First, login to the translator and get the page's Requests url (Unified Resource Locator), REquest headers (Header Request Content) Form data (Form Data)
Then start writing c ...
Posted on Fri, 26 Apr 2019 09:24:35 -0700 by keiron77