tabs do WHAT?

Dirk-Ulrich Heise hei at adtranzsig.de
Wed Jan 26 05:48:12 EST 2000


Warren Postma schrieb in Nachricht ...
>Rather bloody minded of me to point this out, but hey "to each his own"...
>
>#define BEGIN {
>#define END     }

Of course; now convince people to *use* this throughout their programs.
Until a committee can declare "{" and "}" as obsolete.

>
>Can I do the same somehow in Python?  ;-)
>

No. If you need optical block markers, i suggest this:

def blah():
  #begin
  ...
  #end

Makes the code look nearly like Pascal; except for you don't get
the "semicolon"-errors. Ain't that cute.
--
Dipl.Inform. Dirk-Ulrich Heise
hei at adtranzsig.de
dheise at debitel.net






More information about the Python-list mailing list