Similar presentations:
The Python Programming Language
1.
The Python Programming Language2017
BTU - Elguja Nemsadze
2.
Why Learn Python?3.
Why Learn Python?4.
Why Learn Python?5.
Use of PythonEducation
Scripting
Web-development
Testing
GUI programming
Glue language
Big Data
Machine Learning
AI
Automation
Mathematical calculations (alt. to MATLAB)
Etc...
6.
Who uses Python?7.
Python Community8.
What is a Program ?In computing, a program is a specific set of
ordered operations for a computer to
perform.
9.
High and low Level Languages10.
Compilation vs Interpretation11.
Installing Python12.
Coding modes13.
Program Flow• sequential steps
• conditional steps
• repeated steps
14.
Variables naming• Must start with letter (from a to Z) or underscore sign (_) .
• Followed by any number of characters including (letters, underscore signs,
numbers).
• Must NOT include special characters or signs (@, #, +, - …) .
• Must NOT be Python keyword.
• Case sensitive (cat and Cat are different variable names).
Its better to follow PEP 8. https://www.python.org/dev/peps/pep-0008/
15.
Reserved Words16.
Comments# Comment
‘’’
Multiline Comment
‘’’
17.
Errors• Syntax errors
• Logic errors
• Semantic errors