Python之修改文件MD5值

import os

def fileAppend(filename):
    myfile = open(filename,'a')
    myfile.write("####&&&&")
    myfile.close

if __name__ == '__main__':
    filename = 'test.rmvb'
    fileAppend(filename)
    print(filename + ' is Changed.')

 

posted @ 2017-05-08 09:52  Shiyu_Huang  阅读(3339)  评论(0编辑  收藏  举报