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
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