| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/pythonpeixun/article/master/pythonstudy.md | [Back] [Original] |
#python
python
#
M100
,
# coding:utf-8
"""
python
:qq:1465376564
"""
with open('dist_1.txt','r') as f1 ,open('dist_new.txt','w') as f2:
i = 0
for line in f1:
i += 1
if i % 100 == 0:
f2.write(line)
2000100200
while
#coding:utf-8
i = 0
file1 = open("test.txt","r")
file2 = open("out.txt","w")
while True:
line = file1.readline()
i += 1
if 100
| Web Proxy Viewer | New URL | Original Page |