7 COOL Python Easter eggs

Поділитися
Вставка
  • Опубліковано 11 вер 2024

КОМЕНТАРІ • 10

  • @hriscuvalerica4814
    @hriscuvalerica4814 5 місяців тому +3

    I think Monty python's spam sketch is why those spam messages are called spam .

    • @allie-ontheweb
      @allie-ontheweb 5 місяців тому

      Was also gonna comment this! Yeah it's 100% a reference to that sketch

  • @rnseby
    @rnseby 3 місяці тому

    The `__hello__` module is used as an example for the Freeze module that comes with Python. In Freeze's documentation it steps you through freezing the script. So technically I don't think it can be called an Easter egg since there is actually a purpose for it.
    The reason it switched to include `main()` is because we should all be including the `main()` function that is called when __name__ is equal to `__main__`. Best practice you know. 😊
    Concerning the Monty Python references, the editor that comes with Python is called Idle, named after the Monte Python great Eric Idle.
    At my work I wrote a Python script to handle generating Excel billing reports. When asked what it'll be called, I jokingly said "Cleese". It stuck. Every once in a while now, someone reading the documentation will ask if I wrote it in Python. Anyone that gets the reference is automatically my friend.
    I love these Easter egg videos. I end up going down a rabbit whole looking at what happened. Freeze Utility really got me this weekend. 🐍
    Great video!

  • @qfurgie
    @qfurgie 5 місяців тому +2

    there actually is python with braces now!

    • @aflous
      @aflous 5 місяців тому

      Bython 😊

    • @Carberra
      @Carberra  5 місяців тому

      Indeed yeah! Still yet to try it, need to get round to it.

  • @tubeincompetence
    @tubeincompetence 5 місяців тому

    bython seems interesting. Braces are nice

  • @Schmelon
    @Schmelon 5 місяців тому +2

    nights of nigh? oh dear.

    • @klauswik3976
      @klauswik3976 5 місяців тому

      the Knights who say “Nih”! Before they stop saying “Nih” and change their name to the Knights who say “ekki ekki ekki t’pang” (or thereabouts)

  • @klauswik3976
    @klauswik3976 5 місяців тому

    Anyone know if there is some documentation about which flavours of programming has been used, (which of course should state that “I don’t know what _flavor_ it is, it’s bloody seebird flavour”)