[Python-ideas] os.path.abspath - optional startdir argument
Juancarlo Añez
apalala at gmail.com
Fri Jul 25 04:43:13 CEST 2014
More information about the Python-ideas mailing list
Fri Jul 25 04:43:13 CEST 2014
- Previous message: [Python-ideas] os.path.abspath - optional startdir argument
- Next message: [Python-ideas] os.path.abspath - optional startdir argument
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-ideas] os.path.abspath - optional startdir argument
- Next message: [Python-ideas] os.path.abspath - optional startdir argument
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list