+ 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

15th Jun 2017, 6:39 AM
David Ashton
David Ashton - avatar
6 ответов
+ 4
import antigravity
15th Jun 2017, 7:08 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 3
@Abdur: it doesn't work neither in code playground nor in android/QPython ^^
15th Jun 2017, 8:18 AM
visph
visph - avatar
+ 3
@Bogdan: Yeah, I have ran it on desktop (and already seen it before)... I was just notified that was not running on mobile ;)
15th Jun 2017, 8:28 AM
visph
visph - avatar
+ 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
15th Jun 2017, 8:24 AM
Bogdan Sass
Bogdan Sass - avatar
+ 2
yes i know it's desktop only referred to it as it's a two word
15th Jun 2017, 8:33 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
It's mentioned in the python course, actually :) . Nevertheless, a reminder is always helpful.
15th Jun 2017, 7:35 AM
Bogdan Sass
Bogdan Sass - avatar