+ 7
import this
On the remote chance you haven't seen this easter egg before, run the following two word line of Python code: import this 😉 https://code.sololearn.com/cLXw4tY0oyzG
6 ответов
+ 4
import antigravity
+ 3
@Abdur: it doesn't work neither in code playground nor in android/QPython ^^
+ 3
@Bogdan:
Yeah, I have ran it on desktop (and already seen it before)... I was just notified that was not running on mobile ;)
+ 2
@visph: it's an xkcd reference, which was actually introduced in python :)
It opens a web server pointing to the XKCD link (on my text-only shell, it opens links :) ). That is probably the reason why it doesn't work in the playground or on other versions of python.
See here for details:
https://xkcd.com/353/
http://python-history.blogspot.ro/2010/06/import-antigravity.html
+ 2
yes i know it's desktop only
referred to it as it's a two word
+ 1
It's mentioned in the python course, actually :) . Nevertheless, a reminder is always helpful.