摘要: Python 能做什么? Python具有简单、易学、免费、开源、可移植、可扩展、可嵌入、面向对象等优点,我所关注的是网络爬虫方面,2018即将到来,我准备步入python的世界。 Hello,world! 一、Web应用开发 服务器端编程,具有丰富的Web开发框架,如Django和TurboGea 阅读全文
posted @ 2018-06-05 15:09 菜鸟程序猿_python 阅读(348) 评论(0) 推荐(0) 编辑
摘要: import csv with open('test2.csv','w',encoding='utf-8',newline='')as f: write = csv.writer(f) # 先写入columns_name write.writerow(['index','a_name','b_name']) # 写入多行用writerows write.... 阅读全文
posted @ 2018-06-05 10:40 菜鸟程序猿_python 阅读(634) 评论(0) 推荐(0) 编辑