alansuny

导航

 

2020年3月9日

摘要: import sys,time for i in range(10): sys.stdout.write('***") can output *************** standard input: stdin standard output: stdout test; import sys, 阅读全文
posted @ 2020-03-09 16:48 alansuny 阅读(96) 评论(0) 推荐(0) 编辑
 
摘要: list ,dict,tuple, or docentment all can use for in loop> number=0 for i in file: number+=1 if i ==3: i=" ".join((i.strip,'word') print(i) read article 阅读全文
posted @ 2020-03-09 15:51 alansuny 阅读(83) 评论(0) 推荐(0) 编辑
 
摘要: handle class: for instance read file(article,assay,thesis,paper,ect...)ddd file_read=open('d:\jetbrians.com\python\pycharm\guide','r',encoding='UTF-8' 阅读全文
posted @ 2020-03-09 13:41 alansuny 阅读(60) 评论(0) 推荐(0) 编辑