goto, cls, wait commands
Grant Edwards
grante at visi.com
Thu Feb 10 13:31:21 EST 2005
On 2005-02-10, Bruno Desthuilliers <bdesth.quelquechose at free.quelquepart.fr> wrote:
> Grant Edwards a écrit :
>> On 2005-02-10, BOOGIEMAN <BOOGIEMANPN at YAHOO.COM> wrote:
>>
>>
>>>First of all, what's Python command equivalent to QBasic's "goto" ?
>>
>>
>> There isn't one.
>>
>> One defines functions and calls them. One uses for and while
>> loops. One uses list comprehensions. One uses if/elif/else.
>
> and even sometimes break, continue, and return !-)
I forgot to mention try/except. When I do use goto in C
programming it's almost always to impliment what would have
been a try/except block in Python.
--
Grant Edwards grante Yow! ... the MYSTERIANS
at are in here with my
visi.com CORDUROY SOAP DISH!!
More information about the Python-list
mailing list