[Python-ideas] __dir__ in which folder is this py file

Mike Miller python-ideas at mgmiller.net
Mon May 7 00:30:04 EDT 2018


On 2018-05-06 19:13, Nick Coghlan wrote:
> Specifically, the ones I'd have in mind would be:
> 
> - dirname (aka os.path.dirname)
> - joinpath (aka os.path.join)
> - abspath (aka os.path.abspath)
Yes, I end up importing those in most scripts currently.  Just "join" has worked 
fine, although I could imagine someone getting confused about it.

-Mike



More information about the Python-ideas mailing list