是波波呀

关注

'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

m逆光生长

ResultSet object has no attribute ‘text‘

m逆光生长 83 0 0

炽凤亮尧

module 'sklearn' has no attribute 'svm'

炽凤亮尧 105 0 0

影子喵喵喵

'list' object has no attribute 'get'

影子喵喵喵 48 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: module 'enum' has no attribute 'IntFlag'

余寿 111 0 0

雅典娜的棒槌

AttributeError: module ‘statsmodels‘ has no attribute ‘ols‘

雅典娜的棒槌 160 0 0

你带来了我的快乐

AttributeError: ‘NoneType‘ object has no attribute ‘get‘

你带来了我的快乐 187 0 0

精彩评论(0)

0 0 举报