Python Tutorial





What is python?

Python is a very popular general-purpose interpreted, interactive, object-oriented, and high-level programming language. Python is dynamically-typed and garbage-collected programming language.

Features of python


  • Python is simple and easy to learn.
  • Python has efficient high-level data structures.
  • Python also have effective approach to object-oriented programming.
  • Python have elegant syntax and dynamic type.
  • Python is open source and is developed under an OSI-approved open source license.
  • Python interpreter is easily extended with new functions and data types implemented in C or C++
  • Python allows you to split your program into modules that can be reused in other Python programs.
  • Python is an interpreted language, which can save you considerable time during program development because no compilation and linking is necessary.
  • Python enables programs to be written compactly and readably.


Where we can run python?


  • Using Python Shell Window Mode
  • Using Notepad Text Editor
  • Using Python IDLE Tool
  • Using Pycharm IDE Tool
  • Using Anaconda IDE Tool

Python Shell Window Mode

To Open python shell window?

  1. Goto start
  2. Search Python Folder In All Computer Programs
  3. Click python 3.10 (64-bits)

Use of Print Function In Python:

>>> print("Welcome to python programming Language.")
Output:
Welcome to python programming Language.

How we can run Python in IDLE tool:

  1. Go to start
  2. Search Python Folder In All Computer Programs
  3. Click On Python IDLE tool

How to run python at notepad:

  1. Open notepad
  2. write your code
  3. save file with anyname.py extension

How to run for notepad:

  1. Open cmd
  2. write comman like py filename.py