Original address: http://www.cnblogs.com/dolphin0520/p/3778589.htmlThis question in a lot of books have said, such as "Java Programmer interview book", including many domestic large companies written test questions will encounter, most of the online
The list and str types of data have many similarities and are quite different. In this article, we will make a brief comparison between them and review the previous knowledge about the two ".
Similarities
All data belongs to the sequence type
The
may be low or record:
Use of STR and REPR
STR is a type (int, long, similar), and she can also act as a factory method instance of a string
Repr is a python built-in function that preserves the true state of a printed value in a Python
Python uses str & repr to convert the string, pythonstr
It may be better to record low:
Use of str and repr
Str is a type (int, long is similar). It can also be used as a string for a factory Method Instance.
Repr is a built-in function of
may be low or record:
The use of STR and REPR
STR is a type (int, long is similar), and she can also act as a string for a factory method instance
Repr is a python-built function that preserves the true state of a printed value in a
Solution to unicode problems related to str in Python2.x, python2.xunicode
Processing Chinese in python2.x is a headache. I am going to summarize this article here because I am not doing well in the tests and it will be a bit wrong.
I will also
Database optimization tutorial (10) [excellent chapter] solve the four ways in which indexes are not used when like '% str', tuning % strIii. Index
7. Four methods to solve like '% str' without fuzzy query
As mentioned above, the index will not be
It is a headache to deal with Chinese in python2.x. On the Internet to write this aspect of the article, the test time is not neat, and will be a bit wrong, so here intend to summarize an article.
I will also study in the future, and constantly
Database optimization tutorial (10) [excellent chapter] solve the four ways in which indexes are not used when like '% str', tuning % strIii. Index
7. Four methods to solve like '% str' without fuzzy query
As mentioned above, the index will not be
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.