HomePortalFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Python Import Easter Eggs

Go down 
AuthorMessage
Excimer Sun Software

avatar

Posts : 152
Join date : 2010-05-07
Age : 26
Location : USA

PostSubject: Python Import Easter Eggs   Tue Oct 05, 2010 9:08 am

Here's all of the easter eggs in Python that I know of:

>>>import this
-prints the "Zen of Python"
>>>import __hello__ or import __phello__
-prints Hello, World... apparently only works the first time that you import it
>>>import antigravity
-opens the default web browser to display an excellent XKCD comic caveat: only works in Python 3.0 and above
>>>from __future__ import braces
-returns a hilarious error message (if you know BDFL's opinion on curly delimiters in Python)


That's all that I can think of for now. Isn't this nice? Python is such an awesome programming language that it's the only one that has easter eggs! Smile
Back to top Go down
View user profile
gamerboy

avatar

Posts : 37
Join date : 2010-08-27
Age : 34
Location : Germany

PostSubject: Re: Python Import Easter Eggs   Tue Oct 05, 2010 8:38 pm

try playing around with brainf*** a little. the fraction 4/5 (in fraction form, not slash form) makes a calculator that only does 4/5 of the problem Razz . I just think thats hilarious.
Back to top Go down
View user profile http://gamerboy8864hacks.freeforums.org
Compu-Teck Inc.



Posts : 80
Join date : 2010-04-29
Age : 26

PostSubject: Re: Python Import Easter Eggs   Wed Oct 06, 2010 1:21 pm

Nice!!...
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Python Import Easter Eggs   

Back to top Go down
 
Python Import Easter Eggs
Back to top 
Page 1 of 1
 Similar topics
-
» Easter 2012 In Bearville! New items, New Quests and Easter Island revealed!
» Easter Event
» Easter Egg event 2015
» Easter cakes
» Warn friends thru wall to use Easter cakes before updating

Permissions in this forum:You cannot reply to topics in this forum
Compile Crazy :: General :: Open Talk-
Jump to: