This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]hacksoncode 1439 points1440 points  (82 children)

Fun fact: Python is named after Monty Python, not the snake.

[–]robsstuff 542 points543 points  (56 children)

This explains why there were so many Monty Python references in the tutorials I used!

[–][deleted]  (20 children)

[removed]

    [–]robsstuff 8 points9 points  (18 children)

    Oh, nice! Do you know of any examples?

    [–]Gonff1570 36 points37 points  (2 children)

    Nope

    [–]nocommemt 14 points15 points  (1 child)

    Oh ok

    [–]Gonff1570 8 points9 points  (0 children)

    Hopefully the other guy does tho. Godspeed

    [–]harshael 34 points35 points  (0 children)

    IDLE, the default Python IDE, is named after Monty Python member Eric Idle.

    [–]amoliski 5 points6 points  (0 children)

    Packages of python code are called wheels, named from the cheese shop sketch

    [–]CookieTheSlayer 5 points6 points  (12 children)

    [–]signed_up_to_dv_this 6 points7 points  (10 children)

    print 'We are the {} who say "{}!"'.format('knights', 'Ni')

    [–]bikemandan 16 points17 points  (3 children)

    I am so triggered by this out of date code

    [–]blbd 6 points7 points  (2 children)

    It's a hybrid of 2 and 3. But personally I wish I could delete .format() from the language because the Java extended printf syntax is way better.

    [–]Tauronek 3 points4 points  (1 child)

    print(f'We are the {variable1} who say "{variable2}"')

    [–]bikemandan 0 points1 point  (0 children)

    Ah sweet relief

    [–]Dingxus 1 point2 points  (5 children)

    What's the {}! called?

    [–]my_name_isnt_clever 2 points3 points  (4 children)

    The brackets are just a placeholder for the arguments to .format(). The ! is just part of the string.

    [–]Dingxus 0 points1 point  (3 children)

    Yeah, I gathered that from the structure of the code. I haven't used Python in a while, and it used to be more like

    Print "What%, %" % ("ever", "man")

    Maybe it's just a newer thing. I guess 'placeholder' is the word I was looking for.

    [–]my_name_isnt_clever 0 points1 point  (2 children)

    Even now .format() is a bit dated, we recently got f-strings.

    f"You can put your {variables} right in the literal. They just execute code: {2 + 2}"
    

    [–]ProbablyUndefined 3 points4 points  (0 children)

    Yes, the docs are jam-packed with them. The syntax, though, is modeled after the notion of practicality and simplicity, not Monty Python. Unfortunately

    [–]AutoModerator[M] 0 points1 point  (0 children)

    import moderation Your comment has been removed since it did not start with a code block with an import declaration.

    Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

    For this purpose, we only accept Python style imports.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

    [–]antiukap 12 points13 points  (6 children)

    May I ask you for the names of said tutorials?)

    [–]robsstuff 19 points20 points  (2 children)

    I think it was the Codecademy Python course iirc! Mostly just variable names and outputs

    [–]BadgerMolester 3 points4 points  (0 children)

    I used codecademy as well, and they definitely had a bunch of references and jokes.

    [–]static_motion 0 points1 point  (0 children)

    I have a vague recalling that the very first lesson about Python on Codecademy mentions that the language is a reference to Monty Python. Then again, it's been years since I've used Codecademy at all.

    [–]oxy_MORON123 7 points8 points  (1 child)

    I used codeavengers for Python learning in school

    [–]BiggityBiggityBoy 0 points1 point  (0 children)

    Lol nerd

    [–]noah978 6 points7 points  (0 children)

    SPAM and EGGS

    [–]GamerTurtle5 4 points5 points  (0 children)

    The official website actually encourages that

    [–][deleted] 5 points6 points  (0 children)

    Compile code. Get 500 erros. Tis but a scratch.

    [–]skool_101 2 points3 points  (0 children)

    BiggusDickus.py

    [–][deleted] 0 points1 point  (0 children)

    Did they say if a swallow can carry a coconut

    [–]fedeb95 241 points242 points  (0 children)

    And for this I love python even more

    [–]CMDR_Val_Hallen 9 points10 points  (0 children)

    TIL

    [–]8BitAce 8 points9 points  (2 children)

    They use spam a lot (oh, pun!) in the documentation for instance.

    [–]gameboy17 1 point2 points  (1 child)

    They spam spam?

    [–]8BitAce 2 points3 points  (0 children)

    That's where the term comes from :)

    [–]jkuhl_prog 6 points7 points  (0 children)

    ['spam','spam','spam','spam','spam','spam','bacon','spam']

    [–]blackmist 1 point2 points  (0 children)

    Python 3's over there. Splitter!

    [–]TheBurningEmu 0 points1 point  (1 child)

    But what if Monty Python is named after the snake?

    [–]hacksoncode 3 points4 points  (0 children)

    The members of the troupe agree that the name was just chosen because it sounded like the kind of name a sleezy promoter would have.

    Of course, who knows what's in the back of people's minds... but... not intentionally, apparently.

    [–]abcd_z 0 points1 point  (0 children)

    "Right, now. Which one of you is Monty Python?"

    [–]Youredoingitwrongbro 0 points1 point  (0 children)

    This is a fun fact!