<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 23/09/14 09:52, Giampaolo Rodola' a
écrit :<br>
</div>
<blockquote
cite="mid:CAFYqXL9q1kwebZPDDWUt5ww_Qd65yugNJHTBD11V5hZPs4cc=A@mail.gmail.com"
type="cite">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Sep 23, 2014 at 9:19 AM,
Tarek Ziadé <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tarek@ziade.org" target="_blank">tarek@ziade.org</a>></span>
wrote:<br>
<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">Hello<br>
<br>
I realize I am using a lot this pattern:<br>
<br>
>>> os.path.join(os.path.expanduser('~'),
'something', 'here')<br>
'/Users/tarek/something/here'<br>
<br>
<br>
It's quite complicated, and not really intuitive.<br>
</blockquote>
<div><br>
</div>
<div>I don't find that complicated, just a bit verbose
perhaps, but it's definitively clear what it's doing and
it is also explicit.</div>
</div>
</div>
</div>
</blockquote>
~ is a Unix notion I think, and since expanduser() works under
Windows, I don't think it's that intuitive and explicit.<br>
<br>
Unless we'd change it so we omit "~" =><br>
<br>
e.g. os.path.expanduser() and os.path.expanduser('specificuser')<br>
<br>
Cheers<br>
Tarek<br>
</body>
</html>