Name: Anonymous 2011-04-23 0:42
Due to lack of gotos, this is the shortest way I can come up with to tell python to keep doing something until it actually works (in my case, loading a webpage) is this:
in c++ i could just
better way?
tempvar = 1
while tempvar == 1:
try:
<stuff that will either work or cause an exception>
tempvar = 0
except:
passin c++ i could just
lbl: try{stuff} catch {goto lbl;}better way?