Hello, I am facing some issue when copying or moving file
f=open('/tmp/file1') s=open('/tmp/file2') for line in f: if 'match' not in line: s.write(line) import shutil shutil.move(s, f) With above prog I am getting error TypeError: coercing to Unicode: need sting or buffer, file found What that means and how I can resolve it. Regards, Dj
-- https://mail.python.org/mailman/listinfo/python-list