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

from this import *

Name: Anonymous 2011-10-09 17:47


The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

Name: Anonymous 2011-10-11 0:29

>>17


if b1:
    if b2:
        if b3:
            if b4:
                if b5:
                    if b6:
                        if b7:
                            if b8:
                                if b9:
                                    if b10:
                                        raise SystemExit
                            else:
                                print("i don't know either")
                    else:
                        try:
                            try:
                                try:
                                    print("why hello there")
                                catch:
                                    pass
                                else:
                                    print("this does not compute")
                            catch e:
                                print("ohshite nigga what are you doing")
                                raise e
                            else:
                                print("this AST tree is powered by crack")
                        catch:
                            pass
                        else:
                            print("is this supposed to happen?")
        else:
            print("oh boy nested IFs are so rad")


Python is graetestestestestestet! how daer u to say sumthing else! nazi! jewhater! u iz evil! <- How a discussion I had with a pythonista once went (might or might not be somewhat exaggerated). And I don't even hate Python, but pythonautists have got such a huge sticks up their arses, it's not even funny anymore

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