Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100249
| From | oyster <lepto.python@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | real usable file/directory operation module? |
| Date | 2015-12-11 11:04 +0800 |
| Message-ID | <mailman.125.1449803060.12405.python-list@python.org> (permalink) |
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)
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
real usable file/directory operation module? oyster <lepto.python@gmail.com> - 2015-12-11 11:04 +0800
csiph-web