会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
青蛙的邻居
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
python
文本文件的输入与输出
摘要:1. 打开文件,创建文件对象。f = open(文件名,模式)最常用的模式有:"r" # 只读“w” # 写入 >>> f2 = open('E:\Dropbox\python\if.py', 'r') or >>> with open(r'E:\Dropbox\python\test.txt.tx
阅读全文
posted @
2017-02-28 09:02
青蛙的邻居
阅读(240)
评论(0)
推荐(0)
python基础教程
摘要:参数练习
阅读全文
posted @
2017-02-27 11:23
青蛙的邻居
阅读(196)
评论(0)
推荐(0)
python 编辑word
摘要:http://python-docx.readthedocs.io/en/latest/#user-guide
阅读全文
posted @
2017-02-24 17:56
青蛙的邻居
阅读(401)
评论(0)
推荐(0)
python空格替换
摘要:','.join(filter(lambda x: x, a.split(' ')))
阅读全文
posted @
2017-02-22 15:00
青蛙的邻居
阅读(403)
评论(0)
推荐(0)
公告