lower() |
lower case |
str |
strip() rstrip() lstrip() |
Remove the space character left to the right sides of the blank |
str |
replace() |
The specified character replaced want to replace |
str |
split() |
Dividing the string specified manner, it returns a list of |
str |
isdigit () |
To determine whether the numbers |
str |
startswith() |
To determine whether to start with the specified character (returns a Boolean value, True or False) |
str |
endswitch() |
Determine whether the end with the specified character (returns a Boolean value, True or False) |
str |
format() |
{} Manifestation index, may be assigned by the specified character index |
str |
encode() |
The default program is stored in Unicode encoding, the encoded string may be stored modified by encode |
str |
join() |
Have the specified connection, stitching strings, not the string concatenation not |
str |
append() |
Add to direct additional element content, and will be added to the end of the list elements |
list |
insert() |
insert (specified index, "added element"), an additional element to be inserted before the specified index |
list |
reverse() |
The rotation list |
list |
sort() |
Sort the list |
list |
remove() |
Fill in here the direct element to be deleted, not the index " |
list |
pop() |
Directly specify the element to be deleted in the index |
list |
extend() |
Cycle for each element of the list (this feature not tuples) |
list |
clear() |
Empty the list of all the elements |
list |
of the() |
You want to delete the element index |
list |
keys() |
Remove all of the key values |
list |
values() |
Remove all the value argument |
list |
items() |
Remove dictionary keys and values |
list |
get() |
Get by taking the key or value |
list |
update() |
The dictionary of key / value pairs to update dict, and did not exist, add, exists, update |
list/set |
add() |
Add elements to the collection |
set |
discard() |
Delete the collection specified element |
set |
intersection() |
Take intersection of the sets |
set |
union() |
Two sets of set back and |
set |
difference() |
Returns a set of a plurality of difference set |
set |
symmetric_difference() |
Returns the two sets do not duplicate set of elements, i.e., both sets of elements will be removed are present. |
set |