Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #5538

Deleting a file?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From "garyr" <garyr@fidalgo.net>
Newsgroups comp.lang.python
Subject Deleting a file?
Date Mon, 16 May 2011 14:23:33 -0700
Organization Aioe.org NNTP Server
Lines 4
Message-ID <iqsdtn$va2$1@speranza.aioe.org> (permalink)
NNTP-Posting-Host XnJ2Ffc9cIFH2BbWEeh6Bw.user.speranza.aioe.org
X-Complaints-To abuse@aioe.org
X-MimeOLE Produced By Microsoft MimeOLE V6.00.2900.6090
X-RFC2646 Format=Flowed; Original
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Microsoft Outlook Express 6.00.2900.5931
X-Priority 3
X-MSMail-Priority Normal
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:5538

Show key headers only | View raw


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?

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Deleting a file? "garyr" <garyr@fidalgo.net> - 2011-05-16 14:23 -0700
  Re: Deleting a file? Ben Finney <ben+python@benfinney.id.au> - 2011-05-17 11:39 +1000
  Re: Deleting a file? Jerry Hill <malaclypse2@gmail.com> - 2011-05-16 23:06 -0400
    Re: Deleting a file? "garyr" <garyr@fidalgo.net> - 2011-05-17 07:43 -0700

csiph-web