Is there any way to make repr(aString) use double quotes?

Jeremy Fincher tweedgeezer at hotmail.com
Tue Apr 8 14:57:03 EDT 2003


The topic really says it all -- I'd like to *force* repr(aString) to
use double quotes.  Is that possible?

If it's not, then is it possible to achieve the same thing (everything
escaped properly, etc.) through other means?

Thanks,
Jeremy




More information about the Python-list mailing list