python 2.7.12 on Linux behaving differently than on Windows

eryk sun eryksun at
Sun Dec 4 19:09:07 EST 2016

On Sun, Dec 4, 2016 at 10:19 PM, BartC <bc at> wrote:
> Command parameters /do/ behave differently between Windows and Linux, for
> example try writing *.* as that third parameter.
> In Windows, it will print *.*.

In Windows each program parses its own command line. Most C/C++
programs use the CRT's default [w]argv parsing. The CRT defaults to
disabling wildcard expansion. Link with [w]setargv.obj to enable this

The CRT [w]argv parsing doesn't care about single quotes, but literal
double quotes need to be escaped.

More information about the Python-list mailing list