Facundo Batista wrote: > 2007/10/8, Eli Courtwright <eli at courtwright.org>: > >> On "Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit >> (Intel)] on win32" this produces the following exception: >> Traceback (most recent call last): >> File "<stdin>", line 1, in <module> >> TypeError: not enough arguments for format string > > Please check it again, because in my machine... > > Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit > (Intel)] on win32 >>>> "%%(%s)=%%s" % "hello" > '%(hello)=%s' > > If you still think that something is wrong somewhere, feel free to > post a bug in the tracker: > > http://bugs.python.org/ > It even works on my Cygwin build: $ python Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "license" for more information. >>> "%%(%s)=%%s" % "hello" '%(hello)=%s' >>> I suspect the problem may lie somewhere else. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC/Ltd http://www.holdenweb.com Skype: holdenweb http://del.icio.us/steve.holden Sorry, the dog ate my .sigline so I couldn't cat it
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