Introduction and Installation of Python

Introduction to Python

Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. Always remember, whenever we show the Python file, the extension for the Python file is done by ( .py ).
It was created by Guido van Rossum during 1985- 1990.
He named it after the television show Monty Python's Flying Circus. Many Python examples and tutorials include jokes from the show.
It’s a great first language because it’s concise and easy to read.Whatever you want to do, Python can do it. From web development to machine learning to data science .
Like Perl, Python source code is also available under the GNU General Public License (GPL).

About Python Programming

  • Free and open-source - You can freely use and distribute Python, even for commercial use.
  • Easy to learn - Python has a very simple and elegant syntax. It's much easier to read and write Python programs compared to other languages like C++, Java, C#.
  • Portable - You can move Python programs from one platform to another, and run it without any changes.
  • Interpreted − Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP.
  • Interactive − You can actually sit at a Python prompt and interact with the interpreter directly to write your programs.
  • Object-Oriented − Python supports Object-Oriented style or technique of programming that encapsulates code within objects.
  • Python is a Beginner's Language − Python is a great language for the beginner-level programmers and supports the development of a wide range of applications from simple text processing to WWW browsers to games.

Let's Get Started With Python!

This document shows downloading and installing Python 3.9.4 on Windows 10. You should download and install the latest version of Python. The Python download requires about 27 Mb of disk space; keep it on your machine, in case you need to re-install Python.
Downloading

1.Click Python Download. The following page will appear in your browser.
2.Click the Download Python 3.9.4 button. Python 3.9.4 will download and once complete downloading  than A Python 3.9.4 (64-bit) Setup pop-up window will appear.
Installing
If the Python Installer finds an earlier version of Python installed on your computer, the Install Now message may instead appear as Upgrade Now (and the checkboxes will not appear).
  1. Highlight the Install Now (or Upgrade Now) message, and then click it.
  2. Click the Yes button.
A new Python 3.9.4 (64-bit) Setup pop-up window will appear with a Setup Progress message and a progress bar.
During installation, it will show the various components it is installing and move the progress bar towards completion. Soon, a new  Python 3.9.4 (64-bit) Setup pop-up window will appear with a Setup was successfully message
3.Click the Close button. Python should now be installed.
Verifying
  1. Navigate to the directory  cd C:\Users\Admin\AppData\Local\Programs\Python\Python39 (or to whatever directory Python was installed: see the pop-up window for Installing step 3).
  2. C:\Users\Admin\AppData\Local\Programs\Python\Python39>python
Python 3.9
Click on window and search IDLE and click on open.Now that we have Python up and running, we can write our first Python program.
Let's create a very simple program called Hello World. A "Hello, World!" is a simple program that outputs Hello, World! on the screen. Since it's a very simple program, it's often used to introduce a new programming language to beginners.
Type the following code in any text editor or an IDE and save it as hello_world.py
print("Hello, world!")
Then, run the file. You will get the following output.
Hello, world!
Congratulations! You just wrote your first program in Python. As you can see, this was a pretty easy task. This is the beauty of the Python programming language.
You should keep the file python-3.9.4.exe somewhere on your computer in case you need to reinstall Python (not likely necessary).

Python IDEs and Code Editors​

Pycham

download

Jupyter notebook

sublime text 

Dcoder-Cover

Dcoder

Atom


Thank You For Visiting Our Website!
Please Visit : Python Scripting - Code-Tech Community
And make sure to leave us a comment down below , we will be happy to know if this worked for you.

Happy Coding Mates ! 🙂

Leave a Comment

Your email address will not be published. Required fields are marked *

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

Shopping Cart