What is the main use of python. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What is the main use of python.

where is Python used. and how do you run a Python program on a PC. I am thinking of learning Python. Help guys.

18th Oct 2017, 1:43 PM
Prakshenjay Bhati
Prakshenjay Bhati - avatar
4 Answers
+ 3
Definitely in the area of machine learning and AI, it is trending a lot there, more than R nowadays.
18th Oct 2017, 1:50 PM
AutomatedpROCESSES
AutomatedpROCESSES - avatar
+ 3
It has got so many frameworks like django,flask,etc.It is also nice in fields mentioned above
19th Oct 2017, 3:49 PM
Aneesh
+ 2
Endless but its usually used in Artificial intelligence, Machine Learning, and lastly Data Science.
19th Oct 2017, 6:34 AM
Anthony Perez
+ 1
To answer the part about how to run a python program on a PC: First, you have to have Python installed on your machine. On Windows machines, you need to run it thus: C:> python myprog.py Alternatively, you can write a batch file that takes your python program name as an argument and passes it to the call to the Python interpreter. I use Linux myself, so all my python programs contain the first line: #! / bin/env python3 This allows me to simply invoke my program by name on the command line: % myprog.py
3rd Sep 2018, 10:28 PM
Curt Prasky
Curt Prasky - avatar