Introduction to Python
Python is a general purpose high level programming language that is relatively very easy to learn. However, there are the right ways and the wrong ways to learn anything. It is very necessary to learn any language with expert.
What is Python?
Python is a very popular programming language. It was created by Guido van Rossum, and released in 1991.
What can Python do?
- Python can be used on a server-side to develop web applications.
- Python can be used in software to create workflows.
- Python can used to connect database It can also read and modify any types files like csv , xls etc.
- Python can be used to analyze big data and perform complex mathematics.
- Python can be used for in prototyping
- Python can be used for production-ready software development.
Why Python is So Popular ?
- Python can works on different platforms like Windows, Mac, Linux etc.
- Python syntax is very easy similar to the English language.
- Python programs can be written is a very few lines.
- Python is a interpreter language, means code can be executed at same time when it is written. This helps very much in prototyping and it can be done in very less time.
- Python can be treated in as both ways procedural way or a functional way(an object-oriented way).
Few important points to know
- The latest version of Python is Python
3, which we shall be using in this tutorial. However, Python 2, is also there which is older version.
- In this tutorial Python will be written in a text editor.
Python Syntax vs other programming languages
- Python has some similarities to the English language basically it was designed for readability.
- Python uses new lines to complete a command, where as other programming languages often use semicolons or parentheses.
- Python relies on indentation, using whitespace, to define scope; such as the scope of loops, functions and classes. Other programming languages use curly-brackets for this purpose.