Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App

Related Articles

Unknown facts about Python

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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.

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


    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 of 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
Last Updated : 05 Jan, 2022
Like Article
Save Article
Similar Reads
Related Tutorials