This Python tutorial introduces the basic concepts and features of the Python programming language and system.
This Python tutorial try to cover all the features which are commonly used. This Python tutorial give you a good idea of the language's flavor and style. After reading this tutorial, you will be able to read and write Python modules and programs easily.
What is Python ?
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.
The Python interpreter is easily extended with new functions and data types implemented in C or C++ (or other languages callable from C). Python is also suitable as an extension language for customizable applications.
How to Learn Python ?
If you want to learn Python , you must learn Python Basics first. Read as many books about Python as possible. There are many good books in the market that will help you learn Python. Online Python tutorial websites also available to learn Python programming language. You can learn Python Programming Language easily with the given practical examples of Python programs in hudatutorials.com Python programming language tutorial .
This Python tutorial not only for beginners but also advanced developers.
There are two major Python versions, Python 2 and Python 3. Python 2 and 3 are quite different. This tutorial uses Python 3, because it more semantically correct and supports newer features.
How to Coding in Python ?
The simplest directive in Python is the print directive, it simply prints out a line and also includes a newline, unlike in C.
To check if you have Python installed on a Windows PC, First of all check the Python version from command prompt, search in the start bar for run the Command Line cmd.exe by typing cmd in the search box.
After running cmd.exe the black window popup on the screen.
From the command prompt type python --version it shows the Python version which is installed in your system. If you find that you do not have Python installed on your computer, then you can learn How to Download and Install Python Tutorial.
Next you type the python then press the enter (return) key at the command prompt, it runs the Python Interpreter.
After running the Python interpreter type the following command from Python Interpreter then press enter, it will print the text "Welcome to Python Tutorial, all the Best!". That's it, you are successfully executed Python statement from Python Interpreter.
print("Welcome to Python Tutorial, all the best!")
After executing the Python statement, type the exit() then press enter, this statement exits from Python command line (Python interpreter).
In the next tutorial we will discuss on How to Create and Execute Python Program.