[python-win32] Bit of a strange one using py2exe

Greg Ewing greg.ewing at canterbury.ac.nz
Mon May 23 23:40:13 CEST 2011

Tim Golden wrote:
> Backticks are a little-used alternative to
> the repr () function -- deprecated in Python 3 ISTR.

Actually it's been *removed* in Python 3:

Python 3.1.2 (r312:79147, Mar  2 2011, 17:43:12)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> `exit`
   File "<stdin>", line 1
SyntaxError: invalid syntax

Good riddance, IMO -- there was never a good reason for
having it in the first place.


More information about the python-win32 mailing list