我也不知道什么作用的小程序

f=open('e:/putty.exe','r+b')
## fd=<class="bytes">
fd=f.read()
ww=str(fd)
wd=ww.split('\\x')

##
g=open('e:/a.txt','w+')
for i in wd:
    for n in range(3):
        print(i)
        g.write(i)
        if n==3:
            print('\n')
            g.write('\n')

f.close()
g.close()

猜你喜欢

转载自blog.csdn.net/u011288483/article/details/80781186
今日推荐