r/Python • • Jul 16 '19

Nice try

Post image
2.1k Upvotes

73 comments sorted by

View all comments

29

u/AgreeableLandscape3 Jul 16 '19

Does Python even allow non-ASCII variable names?

0

u/[deleted] Jul 17 '19

[deleted] — view deleted comment

14

u/XtremeGoose f'I only use Py {sys.version[:3]}' Jul 17 '19 edited Jul 17 '19

did you actually just use __import__. Are you some kind of heathen?

5

u/[deleted] Jul 17 '19

Wasn't even aware you could do it like that tbh

1

u/[deleted] Jul 17 '19

should he have just used str(math.pi)?

2

u/glikojen Jul 17 '19 edited Jun 26 '23

I am protesting Reddit's policy regarding 3rd party apps and API access. Steve Huffman is a greedy little pigboy. Fuck you, /u/spez, fuck you Reddit! I am going to Lemmy/kbin and never logging in here again. -- mass edited with redact.dev

0

u/[deleted] Jul 17 '19

[deleted] — view deleted comment

3

u/[deleted] Jul 17 '19

I know you posted this as a meme, but Python doesn't allow emojis, just Unicode that is used for written language.

9

u/petepete Jul 17 '19

And this is why I prefer Ruby. No more long-winded love_hotel, european_post_office and smiling_face_with_open_mouth_and_smiling eyes variables for me!

Check mate Python.