#!/usr/bin/env python
#ecoding=utf-8

f=open(r"D:\opsdev\olduser\oldused.txt","a+")
newline=raw_input('input a string:')
f.writelines(newline+"\n")
f.close()

posted on 2018-03-05 17:01  jamezhan  阅读(35819)  评论(0编辑  收藏  举报