Hi guys,
I need to truncate a file from the top down. I imagine doing something like this:
if os.stat says the file is too big:
read the file
trim = only keep the last 2008 bytes (This is where I get stuck)
write trim back out to the original fileWould someone demonstrate the *best* most efficient way of doing this?
Thanks, rbt
-- http://mail.python.org/mailman/listinfo/python-list
