Re: Pretty Printing Like Tidy for HTML

2007-07-08 Thread bsneddon
On Jul 8, 1:53 pm, bsneddon <[EMAIL PROTECTED]> wrote: > On Jul 8, 10:59 am, [EMAIL PROTECTED] (John J. Lee) wrote: > > > > > David <[EMAIL PROTECTED]> writes: > > > Is there a pretty printing utility for Python, something like Tidy for > > > HTML? > > > > That will change: > > > > xp=self.

Re: Pretty Printing Like Tidy for HTML

2007-07-08 Thread bsneddon
On Jul 8, 10:59 am, [EMAIL PROTECTED] (John J. Lee) wrote: > David <[EMAIL PROTECTED]> writes: > > Is there a pretty printing utility for Python, something like Tidy for > > HTML? > > > That will change: > > > xp=self.uleft[0]+percentx*(self.xwidth) > > > To: > > > xp = self.uleft[0

Re: Pretty Printing Like Tidy for HTML

2007-07-08 Thread John J. Lee
David <[EMAIL PROTECTED]> writes: > Is there a pretty printing utility for Python, something like Tidy for > HTML? > > That will change: > > xp=self.uleft[0]+percentx*(self.xwidth) > > To: > > xp = self.uleft[0] + percentx * (self.xwidth) > > And other formatting issues. Googled a

Re: Pretty Printing Like Tidy for HTML

2007-07-07 Thread Thomas Wittek
Daniel: > On Sat, 07 Jul 2007 21:35:40 +0300, David <[EMAIL PROTECTED]> > wrote: >> Is there a pretty printing utility for Python, something like Tidy for >> HTML? > > Why not just write python as it should be written? Oh, you write all the code you use yourself? It's relatively common that you h

Re: Pretty Printing Like Tidy for HTML

2007-07-07 Thread Daniel
On Sat, 07 Jul 2007 21:35:40 +0300, David <[EMAIL PROTECTED]> wrote: > > All, > > Is there a pretty printing utility for Python, something like Tidy for > HTML? > > That will change: > > xp=self.uleft[0]+percentx*(self.xwidth) > > To: > > xp = self.uleft[0] + percentx * (self.xwi