import osdef fileAppend(filename): myfile = open(filename,'a') myfile.write("####&&&&") myfile.closeif __name__ == '__main__': filename = 'test.rmvb' fileAppend(filename) print(filename + ' is Changed.')
黄世宇/Shiyu Huang's Personal Page: https://huangshiyu13.github.io/