is it possible to remove the ':' symbol in the end of lines starting with 'if', 'while' etc?

James Stroud jstroud at mbi.ucla.edu
Thu Feb 22 15:21:23 EST 2007


openopt at ukr.net wrote:
> I don't know to which forum should I post the message
> I hope someone related to the Python kernel development will read &
> consider the idea
> I'm (a former? meanwhile not sure) MATLAB user & it's very annoing
> typing each time for example
> while i:
>      print i
>      ...
> instead of
> while i
>     print i
>     ...
> of course if all is written in a single line ':' I guess should not be
> omited
> 
> Thank you for you suggestions.
> Sorry my bad English.
> 
> WBR, Dmitrey
> 

Its a compromise in that python has way-less of this kind of cruft than 
a lot of other languages.

James



More information about the Python-list mailing list