Introduction of python and get started to learn basic’s of python

Sharing is caring!

Python is a powerful modern computer programming language. Python is the great language and most popular nowadays. Python today stands amongst the top 5 most popular and practical programming languages.

In technical terms, Python is an object-oriented, high-level programming language, object-oriented, interactive, interpreted and extremely user-friendly programming language.

By official introduction to Python is:

Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.

Python was developed by Guido van Rossum, and it is free software. Python is perhaps the only language that focuses on making things easier for the programmer to make more productive because it is very simple to use and write less code. Python is an interpreted language, which means that the written code is not actually translated to a computer-readable format at runtime. It will execute the code line by line.

Python was not so popular earlier even it used many places like web application, the mobile application as a scripting language. After coming to the Artifical Intelligence and Machine learning it popularity growth has increased so fast.

How to Install Python to start Working?

For window it is very simple, please visit https://www.python.org/downloads/ and download the latest version. After downloading the try to install this version and set the environment path to run python from anywhere.

For Mac users, it is very simple just run one command on Homebrewbrew install python3

For Linux users open the terminal and run the command : sudo apt-get update && sudo apt-get install python3

Once it has done, Please check and verify to run this command.

$ python3 -V
Python 3.5.4

Start With Hello World!

Every programming should start with hello world. Let’s Start the Hello word first programme to execute by python. In python to execute the hello world is pretty simple to write. Let’s see by Python interpreter prompt to execute the hello world. Go to command prompt or terminal to run the python command to start by the interpreter.

C:\Users\sunil>python
Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print('Hello World!')
Hello World!
>>>

That’s it. It is very simple. Now check how can we start to write in a file to execute the hello world program. For other editors, open a new file hello.py and type this:

print("hello world")

To run your Python program:

  1. Open a terminal window
  2. Change directory to where you saved the file
  3. Run the program by entering the command.python hello.py

Best IDE for python:

In python community, PyCharm Community is the very popular text editor or IDE to execute the program or build the project provided by Jet Brain. I would be recommended to start using this IDE will get well support. And Even I also like much this IDE because it is very similar to Android Studio which is provided by Jet Brain. A PyCharm community is free IDE to use while PyCharm Professional is paid.

Benefits of learning python:

There are several benefits to learn python to grow professionally.

It is majorly used to Data Science for data mining or Data Analysis or in Big Data.

It is very popular in AI (Artifical Intelligence) and Machine learning which is very fast growing technology in today market.

Most Automation has created and used with the help of Python script and widely used in a web application, mobile applications and Rest API etc.

Finally all perspective it is a great language to learn and make something awesome product to change the world. In my next tutorial, we will learn the basic programming skills of python to get started. Here is the next tutorial about python variable declaration and their uses.

If you are wondering to learn Android then Please Learn from Android category and Wondering to lean Kotlin then Kotlin Category will help you.

To learn more in detail please refer this Link. Ok so please do subscribe your email to get the newsletter of this blog on below and if you like this post then do not forget to share like and comment on below section.

You can learn all articles of MobologicPlus from the android app, which is available to download below.

[appbox googleplay  mobi.androapp.mobologicplus.c7929]

Happy coding 🙂

0 0 votes
Article Rating
Introduction of python and get started to learn basic’s of python
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
Scroll to top
0
Would love your thoughts, please comment.x
()
x