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


Groups > comp.lang.python > #100249 > unrolled thread

real usable file/directory operation module?

Started byoyster <lepto.python@gmail.com>
First post2015-12-11 11:04 +0800
Last post2015-12-11 11:04 +0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  real usable file/directory operation module? oyster <lepto.python@gmail.com> - 2015-12-11 11:04 +0800

#100249 — real usable file/directory operation module?

Fromoyster <lepto.python@gmail.com>
Date2015-12-11 11:04 +0800
Subjectreal usable file/directory operation module?
Message-ID<mailman.125.1449803060.12405.python-list@python.org>
there is shutil module, but I find it limits the user heavily. For
example, I want to move 2 directories "a/scene" and "c/scene" to "d",
but there is "scene" under d already. Then shutil.move will raise
Error, "Destination path '%s' already exists" % real_dst

So is there any module, which allow me move/copy like Windows does.
for example
useableShutil.move('a/scene', 'd', overwite=True)

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web