python AttributeError: module 'string' has no attribute 'uppercase'
来源:互联网 发布:2016乒超联赛网络 编辑:程序博客网 时间:2024/05/29 02:55
Traceback (most recent call last):
File "Test1.py", line 8, in <module>
upperletters = string.uppercase
File "Test1.py", line 8, in <module>
upperletters = string.uppercase
AttributeError: module 'string' has no attribute 'uppercase'
就用这个吧python3.0都能用
>>> string.ascii_lowercase
'abcdefghijklmnopqrstuvwxyz'
阅读全文
0 0
- python AttributeError: module 'string' has no attribute 'uppercase'
- python 报错 **AttributeError: module 'string' has no attribute 'letters'** 的解决方法。
- [Python]attributeError:'module' object has no attribute 'dump'
- [python错误]builtins.AttributeError: 'module' object has no attribute 'request'
- python运行不了 AttributeError: module object has no attribute getdefaultlocale
- python AttributeError: 'module' object has no attribute 'setdefaultencoding'
- python运行不了 AttributeError: module object has no attribute getdefaultlocale
- python AttributeError: 'module' object has no attribute 'dumps'解决办法
- Python AttributeError: 'module' object has no attribute xxxx
- Python 【精】AttributeError: 'Module' object has no attribute 'STARTF_USESHOWINDOW'
- Python AttributeError: ‘module’ object has no attribute ‘A’
- AttributeError: 'module' object has no attribute 'face' 问题解决 opencv+python
- python 错误解析 AttributeError: 'module' object has no attribute 'dumps'
- 【python】AttributeError: 'module' object has no attribute 'HTTPSConnection'
- Python 2.7.3 AttributeError: 'module' object has no attribute 'urlopen'
- Python:AttributeError: ‘module’ object has no attribute ‘ArgumentParser’
- Python 错误:AttributeError: 'module' object has no attribute
- python opencv:AttributeError: 'module' object has no attribute 'cv' FOURCC
- 使用FloatingActionButton
- hdu 6058 Kanade's sum [区间第k大数求和] [2017 Multi-University Training Contest
- 数据结构-静态链表及其插入删除操作
- 【HDU2012】素数判定
- 目前的定时调度都用Spring Schedule 任务调度实现
- python AttributeError: module 'string' has no attribute 'uppercase'
- (一)Angular4 英雄征途HeroConquest-Angular4的安装
- 实现快速排序的非递归
- 2017.07.31工作日记
- plsql 打开之后弹出logon窗口(connection) 解决方法
- Linux学习之shell基础
- JS中的this原理详解
- 递归函数
- centos7 NetworkManager