是波波呀

关注

'string' has no attribute 'maketrans'

是波波呀

关注

阅读 99

2023-03-16


# 去掉abc
s2 = 'abc12303023xyz'
table = str.maketrans("", "", "abc")
print(s2.translate(table))


相关推荐

双井暮色

AttributeError: 'module' object has no attribute 'maketrans'

双井暮色 92 0 0

影子喵喵喵

'list' object has no attribute 'get'

影子喵喵喵 48 0 0

m逆光生长

ResultSet object has no attribute ‘text‘

m逆光生长 83 0 0

炽凤亮尧

module 'sklearn' has no attribute 'svm'

炽凤亮尧 105 0 0

求阙者

module ‘tensorflow‘ has no attribute ‘Session‘

求阙者 40 0 0

悄然丝语

module ‘asyncio‘ has no attribute ‘run‘

悄然丝语 180 0 0

何以至千里

attribute: attribute is not a string value报错解决:Android中对比string程序

何以至千里 85 0 0

登高且赋

AttributeError: ‘_IncompatibleKeys‘ object has no attribute ‘parameters‘

登高且赋 189 0 0

蚁族的乐土

详解Process object has no attribute '_popen'

蚁族的乐土 17 0 0

一叶轻舟okok

AttributeError: 'str' object has no attribute 'decode'

一叶轻舟okok 117 0 0

精彩评论(0)

0 0 举报