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


Groups > comp.lang.python > #100760

Why doesn't os.remove work on directories?

From Random832 <random832@fastmail.com>
Newsgroups comp.lang.python
Subject Why doesn't os.remove work on directories?
Date 2015-12-22 23:29 -0500
Message-ID <mailman.77.1450844962.2237.python-list@python.org> (permalink)

Show all headers | View raw


This is surprising to anyone accustomed to the POSIX C remove
function, which can remove either files or directories.  Is there
any known rationale for this decision?

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


Thread

Why doesn't os.remove work on directories? Random832 <random832@fastmail.com> - 2015-12-22 23:29 -0500
  Re: Why doesn't os.remove work on directories? Laurent Delacroix <laurent@krutt.org> - 2015-12-24 13:58 +0100

csiph-web