摘要: 申请 软著时候会统计代码行数: 统计各种语言代码总行数, whitelist可以备注语言类型 Count.py import os import time basedir = 'C:/wamp64/www/ccyds' filelists = [] # 指定想要统计的文件类型 whitelist = 阅读全文
posted @ 2020-06-05 12:07 刘俊涛的博客 阅读(682) 评论(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 刘俊涛的博客 阅读(7116) 评论(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 刘俊涛的博客 阅读(13581) 评论(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 刘俊涛的博客 阅读(13967) 评论(0) 推荐(0)