goto

Mage mage at mage.hu
Mon Jul 18 10:14:51 EDT 2005


skip at pobox.com wrote:

>    >>> what is the equivalent of C languages' goto  statement in python?
>
>    >> You really shouldn't use goto.
>    >> Fortunately you can't.
>
>    Steven> Of course you can :-)
>
>    Steven> You can write your own Python interpreter, in Python, and add a
>    Steven> goto to it.
>
>Maybe easier would be to write a Python assembler (there's probably already
>one out there) and just write to Python's virtual machine...
>
>  
>
Even easier to buy a book about programming.
Note that python.org is second in google if you search "programming". So
we need a little more work.

       Mage




More information about the Python-list mailing list