Python data type: simple data type; python Data TypeVariable Usage Note string
In python, all strings are enclosed in quotation marks. The quotation marks can be single quotation marks or double quotation marks.
“This is a string”'This is also a
Python core programming-Chapter 5-personal notes, Chapter 5
1. Use del to delete references to objects
>>> a = 123>>> a123>>> del a>>> aTraceback (most recent call last): File "", line 1, in NameError : name 'a' is not defined
2. Integer
(1)
One,. PYc is what a ghost:PYC files are actually a persistent way to save Pycodeobject.Ii. Types of data1. number:2 is an example of an integer.Long integers are just larger integers.3.23 and 52.3E-4 are examples of floating-point numbers. The e tag
installation of Python3 and Python2 under Win10Download the official website address: https://www.python.org/downloads/windows/
Install Python3:
After the installation is complete, enter CMD at the beginning to test if the Python
Mesi Agreement and RFO requestA typical CPU microarchitecture has a Level 3 cache, with each core having its own private L1, L2 cache. What if another kernel thread is trying to access the current kernel L1, L2 cache rows of data, when you are
The function of this module is to complete the conversion between Python values and the Python string form of the C language structure. This can be used to process binary data stored in a file or from a network connection, as well as other data
Content of the previous sectionVariableIf ElseNote # ' msg '3 quotation marks to print multiple lines', ' The meaning of double single quotes is the sameIndent inThe content of this sectionPycharm useIntegrated development Environment (IDE,
Reprint Address: http://www.importnew.com/1305.htmlPublished on November 13, 2008, December 18, 2008 Update: There is also an article about the Java sizeof Operator's utility library.I am a little confused about Java, which is the lack of a
This is a creation in
Article, where the information may have evolved or changed.
In the development process will often meet a number of problems, and now the summary and the solution to record.
1, the session set problems
When the session is set,
Article 1: python basics 1, Article 1 python_1
Content
1. Introduction to Python
The founder of Python is Guido van rosum. During the Christmas Day of 1989, in Amsterdam, Guido was determined to develop a new script interpreter as an inheritance
I. variables: Rule for variable definition: 1. variable names can only be any combination of letters, numbers, or underscores 2. the first character of the variable name cannot be a number. the following keywords cannot be declared as variable names
I. printf () function
Printf () is a formatting output function, which is generally used to output information to the standard output device in the specified format. This function is often used in programming. The call format of the printf ()
// Longint. CPP: defines the entry point for the console application. // # include "stdafx. H "# include" string. H "# define maxlen 50/* function inputlongint () long integer input function */INT inputlongint (int * a, char * para) {int Len, I;
Htm version:
Http://man.chinaunix.net/develop/c&c++/linux_c/default.htm
Http://blog.chinaunix.net/uid-20785773-id-495082.html
Linux C function library reference manual
Chapter 2 character test functionsIsalnum (test whether the character is an
Search-RadixTree (base tree) and radixtree Base
Base tree
For long integer data ing, how to solve Hash conflicts and Hash table size design is a headache.
The radix tree is used to search for this sparse long integer data, which can complete ing
Variable naming rules ------ Hungarian naming rules!
A few years ago, Charles Simonyi (who later became a well-known programmer at Microsoft) designed a post-fix-based naming method known as "Hungary notation" to remember him. his idea is to give
This article from: http://blog.csdn.net/yang_yulei/article/details/46371975
Base tree
For long integer data ing, how to solve hash conflicts and hash table size design is a headache.
The radix tree is used to search for this sparse long integer
Atof (convert a string to a float number) atoi (convert a string to an integer number) atol (convert a string to an integer number)
Strtol (convert string to floating point number) strtol (convert string to integer) strtoul (convert string to
The content of this section:
Data type
Data operations
Getting Started supplements
Reference pages
Data type numeric int (integer)On a 32-bit machine, the number of integers is 32 bits, the value range is -231~231-1, that
(1) Character test functionIsalnum (test whether the character is an English letter or a number) Isalpha (test character is an English letter) Isascii (test character is ASCII character) Isblank (test character is a space character) Iscntrl ( Test
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.