python 2.7.12 on Linux behaving differently than on Windows

Gregory Ewing greg.ewing at canterbury.ac.nz
Thu Dec 8 16:15:56 EST 2016


Random832 wrote:
> Just to point out, brace expansion isn't globbing. The most important
> difference is that brace expansion doesn't care what files exist.

However, it's something that the shell expands into multiple
arguments, giving it similar characteristics for the purposes
of this discussion.

The main difference is that you're unlikely to accidentally
get a million file names or 131072 bytes of arguments that
way. :-)

-- 
Greg


More information about the Python-list mailing list