会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Heqy
公告
日历
导航
博客园
首页
新随笔
新文章
联系
订阅
管理
2018年5月28日
文件操作
摘要: fr = open('plainText.txt',mode='r',encoding='utf-8') plainText = fr.read() print(plainText) print('密文:',end='') for c in plainText: print(chr(ord(c)+3),end='') fw = open('cipherText.txt',mode='a...
阅读全文
posted @ 2018-05-28 17:02 Heqy
阅读(197)
评论(0)
推荐(0)
博客园
© 2004-2026
浙公网安备 33010602011771号
浙ICP备2021040463号-3