随笔分类 -  Python

人生苦短我用Python
摘要:需要根据错误 提示 进入regedit 注册表 删除 相关 关联 即可。 此 操作有 风险!! 文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。 __________________________________________________________________________________ 若有帮助到您,欢迎... 阅读全文
posted @ 2020-09-23 17:14 刘俊涛的博客 阅读(745) 评论(0) 推荐(0) 编辑
摘要:申请 软著时候会统计代码行数: 统计各种语言代码总行数, whitelist可以备注语言类型 Count.py import os import time basedir = 'C:/wamp64/www/ccyds' filelists = [] # 指定想要统计的文件类型 whitelist = 阅读全文
posted @ 2020-06-05 12:07 刘俊涛的博客 阅读(663) 评论(0) 推荐(0) 编辑
摘要:Python 错误!AttributeError: '_io.TextIOWrapper' object has no attribute 'xreadlines' Traceback (most recent call last): File "countline.py", line 33, in 阅读全文
posted @ 2020-06-05 12:02 刘俊涛的博客 阅读(7038) 评论(0) 推荐(0) 编辑
摘要:startTime = time.clock()AttributeError: module 'time' has no attribute 'clock python 报错! AttributeError module 'time' has no attribute 'clock' python3 阅读全文
posted @ 2020-06-05 11:38 刘俊涛的博客 阅读(13563) 评论(0) 推荐(1) 编辑
摘要:Python 报错! $ python count\ line.py File "count line.py", line 35 print 123 ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(1 阅读全文
posted @ 2020-06-05 11:33 刘俊涛的博客 阅读(13803) 评论(0) 推荐(0) 编辑
摘要:文章来源:刘俊涛的博客 欢迎关注,有问题一起学习欢迎留言、评论 阅读全文
posted @ 2019-01-25 16:30 刘俊涛的博客 阅读(380) 评论(0) 推荐(0) 编辑

Servbay
点击右上角即可分享
微信分享提示