KEMBAR78
Introduction to python | PDF
Introduction to Python
Swipe
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
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)
Portable and Platform Independent
Dynamically typed programming language
Extensible and Embedded both
Huge library support required for full usability
Features of Python
How a Python Program Runs on our
System
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
Memory Management in Python
Components of python program
Stay Tuned with
Topics for next Post

Introduction to python

  • 1.
  • 2.
    Python is adynamically 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 & easyto 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 PlatformIndependent Dynamically typed programming language Extensible and Embedded both Huge library support required for full usability Features of Python
  • 5.
    How a PythonProgram Runs on our System
  • 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 inPython Components of python program Stay Tuned with Topics for next Post