this presentation will walk you through basic introduction to python, major features of python, how python runs on our system and some important commands used in python.
2. Python is a dynamically semantic, interpreted, object-
oriented high-level programming language.
Python's plain, easy-to-learn syntax emphasises
readability, which lowers software maintenance costs.
Modules and packages are supported by Python, which
facilitates software modularity and code reuse.
Introduction
3. Simple & easy to learn
Features of Python
Most expressive language
Freeware and open source
Compiled as well as Interpreted
Sample Program in Python to add two numbers:-
a = 10
b = 20
c = a+b
print(c)
4. Portable and Platform Independent
Dynamically typed programming language
Extensible and Embedded both
Huge library support required for full usability
Features of Python
6. python File_Name.py —> To run the file
python -m py_compile File_Name.py —> To compile the
file
python -m dis File_Name.py —> To see the byte code
python File_Name.cpython-38.pyc —> To run the
compiled code
Few important commands
7. Memory Management in Python
Components of python program
Stay Tuned with
Topics for next Post