Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,60 @@ class code(object)
SyntaxError: You found it!
```

### 16. Hidden Unicode-valid emojis in __hello__[^secret-unicode-emojis-in-__hello__]

The `__hello__` module actually offers a bit more than just a simple output!

Some emojis cheekily hidden in some classes within `__hello__`

You can check them out by retrieving the docs yourself

```py
>>> import __hello__
>>> help(__hello__)
Help on module __hello__:

NAME
__hello__

CLASSES
builtins.object
TestFrozenUtf8_1
TestFrozenUtf8_2
TestFrozenUtf8_4

class TestFrozenUtf8_1(builtins.object)
| ¶
|
| Data descriptors defined here:
|
| ...


class TestFrozenUtf8_2(builtins.object)
| π
|
| Data descriptors defined here:
|
| ...


class TestFrozenUtf8_4(builtins.object)
| 😀
|
| Data descriptors defined here:
|
| ...

```
and you can type it out too!
```py
>>> found_emotes = ['¶', 'π', '😀']
>>> found_emotes
['¶', 'π', '😀']
```


[^hello-world]: Easiest hello world program in a language without calling any function
[^the-classic]: Each and every line is the philosophy of Python's design and is a supreme holy guide
[^missing-zen]: Maybe just to show that there always should be a new line at the end of a file!
Expand All @@ -217,6 +271,7 @@ SyntaxError: You found it!
[^pep-401]: The [PEP 401](https://www.python.org/dev/peps/pep-0401/) is an April Fools' Joke - The PEP's number is 401, i.e. 4/01 or April 1st (April Fools' Day). The PEP states that Guido van Rossum is stepping down. The new title given to him would be pronounced "BDEVIL" (Benevolent Dictator Emeritus Vacationing Indefinitely from the Language) and Guido's successor will be Barry Warsaw, or as he is affectionately known, Uncle Barry. Uncle Barry's official title is "FLUFL" (Friendly Language Uncle For Life). There are in-jokes about the Parrot virtual machine and the "non-existent" Python Secret Underground (possibly a throw-back to ["TINC" on USENET](https://en.wikipedia.org/wiki/There_Is_No_Cabal)).
[^inpynite]: [Source](https://www.reddit.com/r/Python/comments/6wrd8t/nice_lil_easter_egg_i_suppose/).
[^peg-parser]: See [this answer](https://stackoverflow.com/a/65487013/14362510)
[^secret-unicode-emojis-in-__hello__]: The GitHub source link to __hello__ emotes given right [here](https://github.com/Eggy115/Python/blob/main/__hello__.py)

## Add more

Expand Down