(im using debian squeeze)

i tried catdvi (but its unacceptable - just a lot of '?'s)

now i am using tex4ht but its awfully sloow..

for example generating html for this : 
takes ~2 seconds (thats 4+ times slower than generating the image !!!)


is there something wrong with my config or is tex4ht really that slow?
(i doubt theres something wrong with my config) are there any other(FAST) reliable tex2html converters?



Question: Use case of try-except-else statement
Answer: If there is no exception in the try: suite, then the else: suite is executed. In other words, only if there is an actual exception is the except: suite reached and the return statement used.

In my view, the return statement is what is redundant here; a pass would have sufficed. I'd use an else: suite to a try when there is additional code that should only be executed if no exception is raised, but could raise exceptions itself that should not be caught.

You are right that a return in the except clause makes using an else: for that section of code somewhat redundant. The whole suite could be de-dented and the else: line removed:

def foo():
    try:
        # Some code
    except:
        # Some code
        return

    # Some code