<div dir="ltr">Hi George,<div><br></div><div>While the old “let’s treat strings as paths” modules are split up like you said, pathlib can do what they do and more: <a href="https://docs.python.org/3/library/pathlib.html">https://docs.python.org/3/library/pathlib.html</a></div><div><br></div><div>It’s also prettier and easier to use, especially when using autocompletion (just type “<a href="http://path.is">path.is</a><tab>” and see what you can test the path for)</div><div><br></div><div>Best, Philipp</div></div><br><div class="gmail_quote"><div dir="ltr">George Fischhof <<a href="mailto:george@fischhof.hu">george@fischhof.hu</a>> schrieb am Do., 12. Jan. 2017 um 10:06 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">Hi There,<br class="gmail_msg">
<br class="gmail_msg">
OS related file operations (copy, move, delete, rename...) should be placed into one module...<br class="gmail_msg">
As it quite confusing that they are in two moduls (os and shutil).<br class="gmail_msg">
<br class="gmail_msg">
I have read that one is higher level than other, but actually to use
them I have to think which function can be found in which module.<br class="gmail_msg">
<br class="gmail_msg">
It is confuse for beginners, and makes the usage more complex instead of make it more simple (as Zen of Python says ;-) )<br class="gmail_msg">
<br class="gmail_msg">
An alias could good, not to cause incompatibility.<br class="gmail_msg">
<br class="gmail_msg">
Best regards,<br class="gmail_msg">
George</div>
_______________________________________________<br class="gmail_msg">
Python-ideas mailing list<br class="gmail_msg">
<a href="mailto:Python-ideas@python.org" class="gmail_msg" target="_blank">Python-ideas@python.org</a><br class="gmail_msg">
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" class="gmail_msg" target="_blank">https://mail.python.org/mailman/listinfo/python-ideas</a><br class="gmail_msg">
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" class="gmail_msg" target="_blank">http://python.org/psf/codeofconduct/</a></blockquote></div>