Jerry,
There was an error during the install but only required a minor change to an
__init__.py file to correct.
Works great. Just what I was looking for. Many thanks!
Gary
"Jerry Hill" wrote in message
news:mailman.1654.1305601607.9059.python-l...@python.org...
> On Mon, May 16, 2011 at 5:23
On Tuesday 17 May 2011 07:23:33 garyr wrote:
> A file can be deleted by opening it with mode os.O_TEMPORARY
> and then closing it. How can a file be moved to the Recycle
> Bin, a la Windows?
Just highlight it, pess the "Del" key and select "move to
Trash". (With minor variation between different
On Mon, May 16, 2011 at 5:23 PM, garyr wrote:
> A file can be deleted by opening it with mode os.O_TEMPORARY and then
> closing it. How can a file be moved to the Recycle Bin, a la Windows?
I see a send2trash module (http://hg.hardcoded.net/send2trash and
http://www.hardcoded.net/articles/send-fi
"garyr" 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 th
A file can be deleted by opening it with mode os.O_TEMPORARY and then
closing it. How can a file be moved to the Recycle Bin, a la Windows?
--
http://mail.python.org/mailman/listinfo/python-list
I can delete a folder OK using os.remove
as long as its empty. I am having difficulty deleting
the same folder when there are files in it. I have tried os.removedirs
and shutil.rmtree as well but no luck. What am I
missing?
Patrick Thorstenson
GIS Specialist
Montezuma County
(