[Python-ideas] proposal: os.path.joinuser()

Tarek Ziadé tarek at ziade.org
Tue Sep 23 14:34:14 CEST 2014


Le 23/09/14 10:40, Chris Angelico a écrit :
> On Tue, Sep 23, 2014 at 5:19 PM, Tarek Ziadé <tarek at ziade.org> wrote:
>> I realize I am using a lot this pattern:
>>
>>    >>> os.path.join(os.path.expanduser('~'), 'something', 'here')
>>    '/Users/tarek/something/here'
>>
>>
>> It's quite complicated, and not really intuitive.
> Not every one-liner needs to be in the stdlib.
Unless it makes a lot of sense  - thus my e-mail here to see if it gets
traction :-)



More information about the Python-ideas mailing list