heaven123

2019年7月23日

python 异常处理

摘要: def count_word(filename): try: with open(filename,encoding='utf-8') as file: centent=file.read() except FileNotFoundError: print('filename '+filename+ 阅读全文

posted @ 2019-07-23 18:55 heaven123 阅读(178) 评论(0) 推荐(0) 编辑

python网络编程-requests模块

摘要: 首先需要安装requests模块:pip install requests 阅读全文

posted @ 2019-07-23 12:51 heaven123 阅读(203) 评论(0) 推荐(0) 编辑

导航