[Tutor] infix to postfix eval

Laura Creighton lac at openend.se
Mon Aug 3 09:28:46 CEST 2015

Hi Anish.

I wanted to let you know something I found out last week.
Even when you select plain text email, gmail will mangle
any lines of text starting with one or more '>' marks.

So when you write:

   >>> import string
   >>> string.uppercase
   >>> string.digits

except all flush with the left margin, gmail thinks that it would be a
great idea to reflow this text, as if this was a quoted text from
somebody else.

Until we can get Google to stop doing this, the work-around is to
indent your output from the python console, or change your python
console prompt to py> or something.  The values of the prompts are
stored in sys.ps1 and sys.ps2 and you can change them to whatever you

Just thought you would like to know,

More information about the Tutor mailing list