How to learn Python – Get started.
The Python language provides many useful features for programmers. Python is the most popular and widely used language because of these features.
History of Python
Python is a general purpose defined, interactive, object-oriented and high-level programming language. It was created by Guido van Rossum during the 1985- 1990 period.
Why to learn Python?
Python is a high-level, defined, interactive and object-oriented scripting language. Python is designed to be more readable. It often uses English keywords, where other languages use punctuation, and it has less syntactic structures than other languages.
- Is Interpreted − Python is processed at runtime by the interpreter
- Is interactive − You can actually sit at a python prompt and interact (communicate) directly with the interpreter to write your programs.
- Is a Beginner’s Language − Python is a Beginner’s Language Python is a good language for beginner-level programmers and supports the development of a wide range of applications.
- Is Object-Oriented − Python supports an object-oriented style or programming technique that involves code in objects.
Python Installed?
To find out if Python is installed on your computer, type the following command line for Windows.
run the following on the Command Line in cmd.exe
For windows
For Linux or Mac, Linux open the command line or on Mac open the Terminal and type (Below command line)
For Mac / Linux
If you find that you have not installed Python on your computer, you can download it for free from the following website:
Download for Windows : Python 3.9.4
Get Started
Python is a defined programming language with its file extension (.py). So you write Python (.py) files in a text editor and put them in a Python interpreter to execute those files.
First let’s prepare a Python file called anyname.py in any text editor. Insert the following code into the file and then save your file into the python interpreter to be executed.
anyname.py
Open a command prompt on your computer enter below command line and Before running, enter your name instead of the Your name must use file extension (.py) and run.
Command line
Popular post
-
Eclipse IDE – Create New Java Project.
Opening the New Java Project…
-
How to start the project in android studio
Android Studio Open the Android…
-
How to use ACOSH function in excel
The ACOSH function returns the…
-
Complete Header tags in html – easy to learn
H tags can be used…
-
Best features in Python programme – easy to learn
Python is the most widely…