Gregory Piñero wrote: > Is my mind playing tricks on me? I really remember being able to > reverse a string as in: > > text='greg' > print text.reverse() >>> 'gerg'
That method has never existed AFAIK. Maybe you're thinking of the reverse() method on lists? In any case, the you can reverse strings in a couple of ways: >>> ''.join(reversed('foo')) 'oof' >>> 'foo'[::-1] 'oof' -- http://mail.python.org/mailman/listinfo/python-list