If you’re thinking of learning Python? Or if you recently started learning it? You may be asking yourself:
"What exactly can I use Python for?"
There are so many applications for python, but there are three main applications which are popular:
- Data Science - Machine learning, data analysis etc.,
- Web Development
- Scripting
Data Science - Machine Learning:
I hope you have an idea of what machine learning is. If you don't have, let me give you a simple example.
"Any task which can't be solved by writing a set of instructions or pseudo code can be solved using Machine learning". Machine learning follows the simple rule - "Learning by examples". Let me give you an example. Let us say you want to identify a person in a picture. Can you write a program/algorithm for that? Well, you might say, Yes!. Maybe you could start by describing the person's attributes like face, height, weight, colour, etc., but how far will you go like this. Let's say that you have done a decent job and described the person in all possible ways. Now if you want to identify another guy, will you start from the beginning? Imagine how difficult it is to sit down and write every time for every person. It can be solved by using machine learning. Just throw a bunch of photos of persons to it, and it will learn how a person looks like.
Hope you got some idea out of it. Now lets come back to python.
Python is the most used programming language for machine learning. As machine learning is mostly dealing with data Python has several tools for data handling and operations on data such as Numpy, Scipy, sci-kit-learn etc.,
Web Development:
Web frameworks that are based on Python like Django and Flask have recently become very popular for web development.
These web frameworks help you create server-side code (backend code) in Python. That’s the code that runs on your server, as opposed to on users’ devices and browsers (front-end code).
Scripting:
Now comes our last and basic application scripting. The script usually refers to writing small programs that are designed to automate simple tasks. Python can be used for scripting in Arduino boards like raspberry pi; you can create secure embedded applications with python. Similarly, you can use Pygame to develop games in python.
There are a lot more applications like that. I just touched the few basic ones. Python has two versions - Python 2.x and Python-3.x. I would recommend using Python-3.x as the support for Python-2.x has ended long back.
That's all from this guys! Hope you got something out of it. Thank you!