<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
<br></div><div>Probably this is just personal taste but I'd prefer the more explicit:<br><br>>>> Path(os.getcwd())</div><div>PosixPath('/home/antoine/pathlib')<br></div><div><br></div><div>I understand all the os.* replication (Path.rename, Path.stat etc.) but all these methods assume you're dealing with an instantiated Path instance whereas Path.cwd is the only one which doesn't.</div>
<div>Not a big deal anyway, it just catched my eye because it's different.</div><div>Other than that the module looks absolutely awesome and a big improvement over os.path!</div><div><br></div><div><br></div><div><div>
--- Giampaolo</div><div><a href="https://code.google.com/p/pyftpdlib/">https://code.google.com/p/pyftpdlib/</a></div><div><a href="https://code.google.com/p/psutil/">https://code.google.com/p/psutil/</a></div><div><a href="https://code.google.com/p/pysendfile/">https://code.google.com/p/pysendfile/</a></div>
</div><div><div> <br></div></div></div></div></div>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4