1. What is Python?
2.What can Python do?
3.Why Python?
4. Good to know about Python:
5. How Python Syntax differs from other programming languages?
Python
is a popular programming language. It was created in 1991 by Guido van Rossum.
It
is used for:
- web development (server-side),
- software development,
- mathematics,
- system scripting.
2.What can Python do?
- used on a server to create web applications.
- used alongside software to create workflows.
- connect to database systems. It can also read and modify files.
- used to handle big data and perform complex mathematics.
- used for rapid prototyping, or for production-ready software development.
3.Why 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. This means that prototyping can be very quick.
- Python can be treated in a procedural way, an object-orientated way or a functional way.
4. Good to know about Python:
- The most recent major version of Python is Python 3, which we shall be using in this tutorial. However, Python 2, although not being updated with anything other than security updates, is still quite popular.
- In this tutorial Python will be written in a text editor. It is possible to write Python in an Integrated Development Environment, such as Thonny, Pycharm, Netbeans or Eclipse which are particularly useful when managing larger collections of Python files.
5. How Python Syntax differs from other programming languages?
- Python was designed to 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.
No comments:
Post a Comment