"garyr" <ga...@fidalgo.net> writes:

> A file can be deleted by opening it with mode os.O_TEMPORARY and then 
> closing it.

Much simpler: ‘os.remove(path)’.

> How can a file be moved to the Recycle Bin, a la Windows?

That's not deleting it (as you probably know), so you might better
change the subject field for the thread.

-- 
 \     “Unix is an operating system, OS/2 is half an operating system, |
  `\    Windows is a shell, and DOS is a boot partition virus.” —Peter |
_o__)                                                        H. Coffin |
Ben Finney
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to