El Viernes 04 Agosto 2006 20:02, Jorge Vargas escribió:

>python code is beatiful what you need about it?
Yes, I already have indenting when using python (really cool), but there are 
things I'd like to be able to format automatically, e.g. to have

x = a[(i + 1)] ^ 2

instead of

x = a[(i+1)]^2

(I think the point is clear). Another axample would be a tool to format the 
code to conform to the python code guidelines
>all editors that respect themself have tabs to spaces conversion, and the
>python interpreter comes with a newline converter script. and if your
>talking about 80 char long calls then that code maybe needs to be break into
>2 or more lines.

yes, but I don't want to have to do the line splitting and args alignment  
myself. For such labor there are already tools for C/C++ (the indent program) 
and I've found others for Java, but none for python


>Javier
>
>
>
>
>
>
>--~--~---------~--~----~------------~-------~--~----~
>You received this message because you are subscribed to the Google Groups
> "TurboGears" group. To post to this group, send email to
> [email protected]
>To unsubscribe from this group, send email to
> [EMAIL PROTECTED] For more options, visit this group
> at http://groups.google.com/group/turbogears
> -~----------~----~----~----~------~----~------~--~---

-- 
Javier Rojas

GPG key:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xA1C57061

Attachment: pgpYzrn5x4yma.pgp
Description: PGP signature

Reply via email to