Discussion on some Code Issues

Chris Angelico rosuav at gmail.com
Mon Jul 9 16:47:45 CEST 2012

On Mon, Jul 9, 2012 at 10:24 PM, Steven D'Aprano
<steve+comp.lang.python at pearwood.info> wrote:
> But it does depend on context. Sometimes you need more detail than just
> "Python looks". You need to know precisely *how* Python looks, and how it
> decides whether it has found or not.

Agreed. So, looking back at the original context: A question was posed
that isn't really about Python at all, but more about file systems. I
gave a simple one-sentence answer that omitted heaps of details. It
didn't seem likely that someone confused by path names would be
changing the current directory inside the script, nor that the
distinction of who evaluates a path would be significant (how often
does _anyone_ care whether your path is parsed by Python, by the OS,
or by the underlying file system?).


More information about the Python-list mailing list