Python字符串方法图示

您所在的位置:网站首页 科二考试下午第二场是几点开始 Python字符串方法图示

Python字符串方法图示

#Python字符串方法图示| 来源: 网络整理| 查看: 265

字符串常用方法非常用,只需要记住一些常用的即可。提供一张思维导图,随时方便查阅。

index()

rindex()

find()

rfind()

count()

strip() 

lstrtip()

rstrip()

split()

rsplit()

splitlines()

replace()

join()

format()

format_map()

encode()

startswith()

endswith()

upper()

lower()

title()

swapcase()

ljust()

rjust()

center()

capitalize()

partition()

rpartition()

translate()

zfill()

maketrans()

expandtabs()

isdigit()

isalpha()

isalnum()

isupper()

islower()

isspace()

istitle()

isdecimal()

isnumeric()

isprintable()

isidentifier()

python字符串常用方法集合.png



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3