What You Can Do With Python: 3 Key Uses of Python

09-02-2019 19:13
What You Can Do With Python: 3 Key Uses of Python

If you are planning to learn Python, you may have questions about what you can do using this language. What exactly is Python used for? This is actually a puzzling question. Because Python can be used in different areas. Three of them stand out as areas where they are widely used.


  • Web Development
  • Data Science (machine learning, data analysis and data visualization)
  • Scripting


Let's take a look at these one by one.


Web Development with Pthyon


Ptyhon-based web frameworks such as Django and Flask have become quite popular lately. You can create back-end codes in Python by using these frameworks. This is code that runs on your server as opposed to code (front-end) that runs on users' device and browser.


We need web frameworks because they make it easy to create back-end logic. Here we mean mapping different URLs to pieces of Python code, dealing with databases, and generating HTML files that users come across in their browsers.


Data Science with Python


This usage area of Python; It includes machine learning, data analysis and data visualization . First, let's take a look at what machine learning is. Because the importance of machine learning is constantly increasing all over the world.


The best way to understand machine learning is to go through an example.


Let's say you want to develop a program that can automatically detect what's in a photo. For this, you can write a code based on a table or dog photo, depending on the pixel colors or the shape of the object you want to detect. But the margin of error of such a code is very high. Because there can be dogs in different colors and tables of different shapes.


Machine learning comes into play to minimize the margin of error. Machine learning typically implements an algorithm that automatically detects the pattern in the given input.


You can give 1000 dog photos and 1000 table photos to a machine learning algorithm. Thus, he learns dogs and tables with different characteristics. When you give a picture of a dog that is different from these thousand photos, it detects the similarities and understands that the one in the photo is a dog. In fact, machine learning mimics babies learning about the world.


There are well-known machine learning libraries and frameworks for Python. Two of them are scikit-learn and TensorFlow. If you are new to machine learning projects, scikit-learn may be the right choice for you. TensorFlow will be suitable for those who know the basics.


When we look at data analysis and data visualization, it may be a good idea to go through an example again. Let's say you work for a company that sells products online. As a data analyst, you will need to draw graphs. For example, what is the ratio of men and women who buy your products, which age group is more interested in your products.


As a data analyst, you can make some explanations about the graphs in front of you. For example, women may be more interested in your products compared to men. Although the data is generally similar, it can sometimes be very complex. In such a case, Python makes your life easier.


Matplotlib is one of the most well-known libraries for data visualization. You can prefer this easy-to-use library for beginners at every stage.


Scripting with Python


Scripting can be translated into Turkish as a script. However, if you are interested in these works, we recommend that you familiarize yourself with the globally used scripting word. More specifically, scripting means writing small programs designed to automate simple tasks .


For example, your job may require you to select and analyze emails containing certain keywords. Instead of doing this manually, you can automate the job by writing a simple program. In this automation business, Python will be the right choice for you. Because it has a very simple syntax and is easy to write.


If you are determined to learn Python, you need to choose the right resource for yourself. For this , Python for Beginners from Abacus is perfectly suited. It offers a comprehensive education, especially thanks to the fact that it is a training set consisting of books and videos.

IdeaSoft® | E-Ticaret paketleri ile hazırlanmıştır.