In order to fulfill the basic functions of our service, the user hereby agrees to allow Xiaomi to collect, process and use personal information which shall include but not be limited to written threads, pictures, comments, replies in the Mi Community, and relevant data types listed in Xiaomi's Private Policy. By selecting "Agree", you agree to Xiaomi's Private Policy and Content Policy .


Learn With Mi

[Announcement] #LearnWithMi: The Power of Python

2017-11-24 22:50:47
16871 444

Hi Mi fans,

We are back with the second article for #LearnWithMi campaign. This article is about a programming language that has set the tech world ablaze with its versatile features and elegant syntax, Python.

It all started when Guido Van Rossum, a Dutch programmer, decided to build a hobby project during his Christmas vacation. He wrote an interpreter for the new scripting language he had been pondering over and named it Python (being a die-hard fan of Monty Python). A descendent of ABC languages developed in the early stages of computing, it is a high-level, general-purpose programming language which focuses on code readability. The design philosophy of Python is summarized in a collection of 20 principles, some of which are:        

  • Beautiful is better than ugly
  • Explicit is better than implicit
  • Simple is better than complex
  • Complex is better than complicated
  • Readability counts

What makes Python stand out from other languages?
Being modular, dynamic, object oriented, portable, and extensible in C and C++, Python has topped the charts over recent years. The USP of Python is that it is an open source language. It is this particular feature, apart from code readability, that has led to its widespread acceptance in academia and industry. MATLAB, for example, though simple in terms of writing code is not free to use and thus may not always be a viable option for students and early stage startups.

Languages like Java, C, C++, and Visual Basic are compiler based while Python is interpreter based. In layman’s terms, if you write a 100 line code in C and the 99th line has an error, your code won’t run but if you write it in Python, the code will be executed till the 98th line. Also, the simplicity of Python makes it desirable for newbies. The syntax is easy to write and not bulky. The ‘hello world’ program, for instance, requires at least 10 lines of code in Java while you just need to write Print (“Hello World!”) in Python. That’s about the ease of coding!

But why should you learn Python when you already know so many programming languages?
Because NASA uses Python! No, that’s not the only one. Let’s have a look at the reasons -

  • Python is the future of machine learning and artificial intelligence. Since these are budding technologies, most of the research takes place in universities; therefore, it is better to use Python which is simple and also available for free.
  • It has extensive coding tools like scientific python and numeric python which foster data analytics and statistics.
  • It offers frameworks (Django), micro-frameworks (Flask), and advanced CMS for web and internet development. Its standard libraries support various internet protocols like XML, email processing, FTP, IMAP, and socket interface.
  • You can use it for image processing and graphic design. Even Disney and ILM do! Python has been used in 2D imaging software like GIMP and Inkscape and 3D animation packages like Cinema 4D and Blender. Java and MATLAB are also used but again, because of simplicity and availability, Python dominates as the language of implementation.
  • Amazed by Pirates of Caribbean, Eve Online, and SolarWolf? Want to develop a game on your own? Python is for you! In fact, leading universities like MIT and Rice have game development courses in Python.
  • Its GUI toolkits help developers create highly functional GUIs.

Organisations like Google, Facebook, IBM, NASDAQ, and Yahoo have already realised the power of Python. For instance, YouTube was written in PHP but with the emergence of Python with extensive libraries, it has been rewritten in the latter. Now, it’s time for you to realise it.

And guess what?
Christmas is coming!

As a part of #LearnWithMi initiative, Internshala is offering a 25% discount on the online Python training. Jump on to avail the offer, register here using the coupon code: MI25

Why don’t YOU take up a hobby project this time and create some magic yourself? It’s time to delve deeper into the world of Python and build a fantasy cricket game.

Related threads:

#LearnWithMi: Android app development - Java vs Kotlin
Xiaomi and Internshala present #LearnWithMi: It's time to create a brighter future


Number of participants 2 Experience +2 Pack Reason

View Rating Log

2017-11-24 22:50:47
Favorites427 RateRate
Learn With Mi
Xiaomi and Internshala bring an initiative exclusively for Mi fans - #LearnWithMi.
7 Article Description     835 Subscribers

Master Bunny

meetgour | from Redmi Y1


thanks for information....
2017-11-24 22:58:25

Grandmaster Bunny

Prem | from Redmi Note 4


Thanks for the information and sharing this with us
2017-11-24 23:01:57
good for those who want to learn app development i guess..
2017-11-24 23:02:18

Master Bunny

Mukesh Garg jsm | from Redmi Note 4


thanx for sharing information
2017-11-24 23:03:15

MIUI Beta Tester

Jagmeet | from Redmi Note 4


2017-11-24 23:06:08

Master Bunny

Sidde | from Redmi Note 4


Thanks for this.
2017-11-24 23:07:44

Master Bunny

IamDipan | from Redmi 4


nice information thanks
2017-11-24 23:08:40

Master Bunny

Biswajit Talukder | from Redmi Note 3


Nice information
2017-11-24 23:10:13

Grandmaster Bunny

Chetan Bhatia | from Redmi Note 4


what's about hundred free learners from MI ?
2017-11-24 23:12:28
Chetan Bhatia

Pro Bunny

Arun Kumar Jana | from Redmi Note 4


Very interesting
2017-11-24 23:13:06
please sign in to reply.
Sign In Sign Up


Grandmaster Bunny

Beta Tester
India 2nd year
Redmi 3S
Mi Max
Power At Last
3 Days Check-In
7 Days Check-In
21 Days Check-In
40 Days Check-In
70 Days Check-In
100 Days Check-In
Lucky Draw No.
500K Members
Mi Explorers
1 million members
Xiaomi 7th Birthday
Mi Campus Superstars Entry
1st Anniversary
71st Independence Day
My Poster My Life
Mi A1 Review Contest
Newbie Member
Twitter Medal
2018 New Year Medal

Read moreGet new
Copyright©2016-2019, All Rights Reserved
Content Policy
Quick Reply To Top Return to the list