Unknown facts about Python

Python is a widely-used general-purpose, high-level programming language. It was mainly developed for emphasis on code readability, and its syntax allows programmers to express concepts in fewer lines of code. Python is a programming language that lets you work quickly and integrate systems more efficiently.

Here are some interesting facts about python

  1. Origin of python
    Python was developed a hobby project by Guido Van Rossum in December 1989, while he was looking for a hobby project to keep him occupied in the week around Christmas.

  2. Logic behind its name
    The language’s name isn’t about snakes, but about the popular British comedy troupe Monty Python. its creator named so because he was a big fan of Monty Python’s Flying Circus.



  3. The Zen of Python
    Tim Peters, a major contributor to the Python community, wrote this poem to highlight the philosophies of Python which can be read by just writing import this in the interpreter.

    filter_none

    edit
    close

    play_arrow

    link
    brightness_4
    code

    # Try to guess the result before you actually run it 
    import this 

    chevron_right

    
    

    Output:

    The Zen of Python, by Tim Peters
    
    Beautiful is better than ugly.
    Explicit is better than implicit.
    Simple is better than complex.
    Complex is better than complicated.
    Flat is better than nested.
    Sparse is better than dense.
    Readability counts.
    Special cases aren't special enough to break the rules.
    Although practicality beats purity.
    Errors should never pass silently.
    Unless explicitly silenced.
    In the face of ambiguity, refuse the temptation to guess.
    There should be one-- and preferably only one --obvious way to do it.
    Although that way may not be obvious at first unless you're Dutch.
    Now is better than never.
    Although never is often better than *right* now.
    If the implementation is hard to explain, it's a bad idea.
    If the implementation is easy to explain, it may be a good idea.
    Namespaces are one honking great idea -- let's do more of those!
    

  4. Python does not require a compiler
    As a high-level and interpreted language, Python does not need a compiler. This is unlike Java and C++ which have to be compiled first before being interpreted. For Python, it relies on the application interpreter.
    The Python byte code is stored in the form of a .pyc file which is then executed by an appropriate virtual machine. This machine acts as a run-time engine of Python.

  5. C and Java variants of python
    Despite being an independent programming language, Python has variants for C and Java programming languages. The C variant is known as CPython and is designed to give Python the advantages of C. One of these characteristics is in terms of performance. The variant can act both as an interpreter and at the same time as a compiler.
    The Java variant of Python is known as Jython. It brings some key aspects of Java such as productivity and enables them to run on a virtual machine.



  6. Does not require braces
    Unlike Java and C++, Python does not use braces to delimit code. Indentation is mandatory with Python, which keep tracks f the code.

  7. It is an open-source language
    Despite the massive popularity that enjoys, Python is an open-source language, It does not have a proprietary license that controls who uses it.
    As an open-source language, members of the Python community are allowed to make their contributions to the Python ecosystem.

  8. It supports multiple assignments in one statement
    Python allows assigning the same value to multiple variables in one statement. It will also let you assign values to multiple variables at once.

  9. Influence of python in JavaScript
    Python is one of the 9 languages that influenced the design of JavaScript. Others include AWK, C, HyperTalk, Java, Lua, Perl, Scheme, and Self.

  10. Big Companies Using Python
    Some of the big companies and institutions using python are:
    NASA, Facebook, IBM, Google, Nokia, Netflix, Yahoo! Maps, Quora, Hike, Amazon, Youtube, Mozilla, Uber, Dropbox, Expedia

Note: To know more about python click here.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.