why does activestate (win98) python not support globbing

Steve Holden sholden at holdenweb.com
Thu Apr 12 17:33:58 EDT 2001


"Fredrik Lundh" <fredrik at pythonware.com> wrote ...
> Paul Prescodwrote:
> > It's simply Windows versus Unix. On Unix the *shell* does globbing. The
> > program never sees the unexpanded filename. On Windows, the application
> > must do globbing (if it wants to).
>
> to be precise, it's a linking issue.  to get globbing behaviour, just
> link the executable with setargv.obj (provided with visual C).
>
> for some reason, GvR didn't want this as a default.  cannot recall
> his arguments, though...
>
Seems sensible since it's not the platform default for other command line
programs? Nasty to have to glob wildcards, but consistent with the DOS
heritage.

regards
 Steve






More information about the Python-list mailing list