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 Homebrew:
brew 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
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.
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!')
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:
To run your Python program:
- Open a terminal window
- Change directory to where you saved the file
- Run the program by entering the command.
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.
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.
Happy coding 🙂
I am a very enthusiastic Android developer to build solid Android apps. I have a keen interest in developing for Android and have published apps to the Google Play Store. I always open to learning new technologies. For any help drop us a line anytime at firstname.lastname@example.org