A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/087130.html below:

why does activestate (win98) python not support globbing

why does activestate (win98) python not support globbing why does activestate (win98) python not support globbingMarcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Apr 13 10:08:51 EDT 2001
Thu, 12 Apr 2001 11:25:43 -0700, Bob Cannard <bob_cannard at mentor.com> pisze:

> from glob import glob
> for arg in sys.argv[1:]:
>     for name in glob(arg):
> 
> This generally works in Unix also, where the glob effectively
> becomes a no-op.

Not exactly. When I want to pass a filename containing characters
like * or [, I quote it for the shell. This would break it.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK

More information about the Python-list 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