大佬们在哪里看python的相关所有方法

81次阅读

共计 1486 个字符,预计需要花费 4 分钟才能阅读完成。

想知道处理字符串所有的方法的有那些,有这样的网站列出来吗?

网友回复:

注册 https://docs.python.org/zh-cn/3.10/

Far https://www.w3school.com.cn/python/python_strings.asp 拉到最底下!

pikukong 感谢!

Salta https://docs.python.org/zh-cn/3/library/stdtypes.html#string-methods 建议看官方文档

Far 建议看官方文档。。。

雁过拔毛的 MJJ 别学 python 了 … 这么垃圾的东西 都落后时代了 又慢又丑 前段时间 python 还刚被卷积神经网络作者喷了说是垃圾语言

无知灰灰 学 node

金关村村长 还是 PHP 爽啊 不仅轮子一堆 连现成的房子都一堆 拿来就用

委员 世界上只有两种语言,没有人用的和没有人喷的。落后时代?你自己仔细看看 python 有关项目和职位。慢你可以上 cython,丑因人而异。哪个语言没被大牛喷过?就凭这点就能说语言垃圾,你可真的逗。个人很少写 python,也确实比较反感 py2 跟 py3 那鬼畜的兼容性,但这并不能改变我认为他确实极大降低了开发门槛和提升了原型开发速度的事实。

注册 记录下

注册 print (dir ( obj) ) 下面是字符串的 [‘__add__’, ‘__class__’, ‘__contains__’, ‘__delattr__’, ‘__dir__’, ‘__doc__’, ‘__eq__’, ‘__format__’, ‘__ge__’, ‘__getattribute__’, ‘__getitem__’, ‘__getnewargs__’, ‘__gt__’, ‘__hash__’, ‘__init__’, ‘__init_subclass__’, ‘__iter__’, ‘__le__’, ‘__len__’, ‘__lt__’, ‘__mod__’, ‘__mul__’, ‘__ne__’, ‘__new__’, ‘__reduce__’, ‘__reduce_ex__’, ‘__repr__’, ‘__rmod__’, ‘__rmul__’, ‘__setattr__’, ‘__sizeof__’, ‘__str__’, ‘__subclasshook__’, ‘capitalize’, ‘casefold’, ‘center’, ‘count’, ‘encode’, ‘endswith’, ‘expandtabs’, ‘find’, ‘format’, ‘format_map’, ‘index’, ‘isalnum’, ‘isalpha’, ‘isascii’, ‘isdecimal’, ‘isdigit’, ‘isidentifier’, ‘islower’, ‘isnumeric’, ‘isprintable’, ‘isspace’, ‘istitle’, ‘isupper’, ‘join’, ‘ljust’, ‘lower’, ‘lstrip’, ‘maketrans’, ‘partition’, ‘removeprefix’, ‘removesuffix’, ‘replace’, ‘rfind’, ‘rindex’, ‘rjust’, ‘rpartition’, ‘rsplit’, ‘rstrip’, ‘split’, ‘splitlines’, ‘startswith’, ‘strip’, ‘swapcase’, ‘title’, ‘translate’, ‘upper’, ‘zfill’]

yin734854387 语言之争 没啥用,工具而已。我从最开始的 QBasic 学起,都不知道换了多少语言了。

正文完
 0