Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Keep-trying-until-it-works

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:

tempvar = 1
while tempvar == 1:
    try:
        <stuff that will either work or cause an exception>
        tempvar = 0
    except:
        pass


in c++ i could just

lbl: try{stuff} catch {goto lbl;}

better way?

Name: Anonymous 2011-04-23 11:37

>>40
YOU CAN CUM IN YOUR MOTHER'S ROTTEN PUSSY AND SUCK AND SWALLOW SHIT FROM HER ANUS, BUT YOU CAN'T STOP POSTING USELESS STUPIDITY THAT NOBODY CARES ABOUT!

Name: Anonymous 2011-04-23 14:11

OVER 20LBS OF PUSSY AND ASS!!!

Name: Anonymous 2011-04-23 14:24

I TYPE IN BOLD TEXT

Name: Anonymous 2011-04-23 15:02

I TYPE IN BOLD TEXT

Name: Anonymous 2011-04-23 15:05

[o][b][u]I TYPE IN BBCODE[/u][/b][/o]

Name: Anonymous 2011-04-23 15:07

>>42
Fuck off, shitposter. I can't even be bothered using BBCode anymore.

Name: Anonymous 2011-04-23 15:25

>>20
FUCK OFF, SHITPOSTER.

Name: Anonymous 2011-04-23 19:20

while (!@func());
PHP

Name: !5E3nN0p1F2!a1uzMeFZoxIYYz+ 2011-04-23 21:07

NIGGERS!

Name: Anonymous 2011-04-23 21:10

someone in here last night was trying to do something in Python that should have been done outside of the PY app. Did they get that cleared up, I wonder?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List