A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-June/095503.html below:

[Python-Dev] automatic wildcard expansion on Win32

[Python-Dev] automatic wildcard expansion on Win32 [Python-Dev] automatic wildcard expansion on Win32David Ascher da at ski.org
Fri Jun 18 19:09:27 CEST 1999
A python-help poster finally convinced me that there was a way to enable
automatic wildcard expansion on win32.  This is done by linking in
"setargv.obj" along with all of the other MS libs.  Quick testing shows
that it works.

Is this a feature we want to add?  I can see both sides of that coin.

--david

PS: I saw a RISKS digest posting last week which had a horror story about
wildcard expansion on some flavor of Windows.  The person had two files
with long filenames:

    verylongfile1.txt
 and
    verylongfile2.txt

But Win32 stored them in 8.3 format, so they were stored as
    verylo~2.txt
 and 
    verylo~1.txt

(Yes, the 1 and 2 were swapped!).  So when he did

 del *1.txt

he removed the wrong file.  Neat, eh?

(This is actually relevant -- it's possible that setargv.obj and glob.glob
could give different answers).

--david




More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4