Introduction to Python !
Welcome ! Are you completely new to programming ? If not then we presume you will be looking for information about why and how to get started with Python. Fortunately an experienced programmer in any programming language (whatever it may be) can pick up Python very quickly. It's also easy for beginners to use and learn, so jump in !
What is Python ?
Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.
It is used for :
- Web Development (server-side),
- Software Development,
- Mathematics,
- System Scripting.
What can Python do ?
Are as Follow :
- Python can be used on a server to create web applications,
- Python can be used alongside software to create workflows,
- Python can connect to database systems,
- Python can be used to handle big data and perform complex mathematics,
- Python can be used for rapid prototyping, or for production-ready software development.
Why to use Python ?
- Python works on different platforms (Windows, Mac, Linux, Raspberry Pi, etc),
- Python has a simple syntax similar to the English language,
- Python has syntax that allows developers to write programs with fewer lines than some other programming languages,
- Python runs on an interpreter system, meaning that code can be executed as soon as it is written,
- Python can be treated in a procedural way, an object-oriented way or a functional way.
Python Syntax compared to other programming languages
Syntax are as follow :
- Python was designed for readability, and has some similarities to the English language with influence from mathematics,
- Python uses new lines to complete a command, as opposed to other programming languages which 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 often use curly-brackets for this purpose.
Example :
Written Code :
print("Hello, World!")
Result :