[Python-ideas] os.path.abspath - optional startdir argument
Juancarlo Añez
apalala at gmail.com
Fri Jul 25 04:43:13 CEST 2014
On Thu, Jul 24, 2014 at 9:24 PM, Ryan <rymg19 at gmail.com> wrote:
> Instead, though, you'd do:
>
> f = (Path(_file__) / 'app.conf').open()
>
Indeed, that solves the "right place in the module dependency hierarchy"
thing, and it even has an "econding=" kwarg!
I hadn't paid attention to it. Sorry.
Problem solved!
Thanks!
--
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140724/1aaf2b4a/attachment.html>
More information about the Python-ideas
mailing list