Hello everyone , I meet you again , I'm your friend, Quan Jun .
Original blog post
2020-05-14 10:53 −
python Identifier naming rules :
1, Identifier can only contain large 、 Lowercase letters 、 Numbers 、 Underline “_”, And can't start with a number
2, Identifier cannot be associated with python Same keywords , But can contain
3, Identifier cannot contain spaces
tips:
a,python The identifier of is case sensitive , Such as variable number And variables Number Represent different variables …
Related to recommend
2019-09-28 21:13 −
Python python Is a cross platform computer programming language , Is an object-oriented dynamic type language . Originally designed to write automated scripts (shell), With the continuous update of the version and the addition of new language features , More and more are used for independent 、 Development of large projects .( The above is from Baidu Encyclopedia ) Python It's an interpreted scripting language , It can be applied to the following fields …
2019-12-24 19:55 −
1 Web application https://www.cnblogs.com/yuanchenqi/articles/8869302.html2 http agreement https://www.cnblogs.com/yuanchenqi/articles/8875623…
2019-12-04 22:39 −
See the title Python Just click in .
Actually , Just a konjaku ……
I don't know what went crazy in school , Now even ordinary information courses are being taught Python, I'm afraid we can't digest c++ Do you ?
Although the heart is very unwilling , But I have to admit , A lot of time ( In fact, most of them ),Python All ratio c++ It's simpler .
reason :
1.Python Don't start the file ( Cough , Purely …
2019-12-06 14:02 −
Learning outline
Generate a list of values for the specified range , The syntax is as follows :
Generate a file that includes 10 A list of random numbers , The range of the required number is 10-100 Between , The code is as follows
import random
randomnumber = [random.randint(10,100) for i in range(…
2019-12-18 15:00 −
Reserved words :and,as,assert,break,class,continue,
def,del,elif,else,except,finally,
forfromFalse,global,if,import,
in,is,lambda,nonlocal,not…
2019-12-24 21:14 −
python-requests
python-requests
effect : A library that can simulate a browser sending requests to a server
requests The main method of Library
Methods described
requests.request() Construct a request , The following methods are supported requests.get() obtain html Main methods requests.head(…
2019-12-11 17:16 −
Redis
redis It's a key-value The storage system .
assignment :set name alex View all key:keys * see key Corresponding value:get name Live only 2 Second :set name jack ex 2
Python operation Redissudo pip install redis
1、 Operation mode r…
2019-11-27 16:55 −
1. install
The module to be installed is named pyyaml, direct pip install pyyaml
Import , direct import yaml
2.yaml File format
File format output can be a list , It can be a dictionary , Can be nested . The hierarchy is distinguished by spaces , Bear in mind , I won't support it tab Indent
a) Key value pair form
user: admin
pwd: 123
…
2019-11-23 12:52 −
# Python3 With your hand – [Python3 With your hand ](#python3%e9%9a%8f%e6%89%8b%e8%ae%b0) – [list Method ](#list%e6%96%b9%e6%b3%95) – [os](#os) – [imageio](#imageio) – [Python I…
Publisher : Full stack programmer stack length , Reprint please indicate the source :https://javaforall.cn/150645.html Link to the original text :https://javaforall.cn
項目介紹With the continuous increa
It refers to the execution eff