Home Videos Exercises MCQ Q&A Quiz Services Sign in

Introduction of Python

Python is object oriented programming language.


What is Python?

Python is object oriented programming language.

The Python programming language was developed by Guido Van Rossum in the year 1990 at Stichting Mathematics centrum in the Netherlands as a successor of a language called ABC.

Name Python picked from TV show Month Python's Flying circus.


Features of Python.

  • Easy to learn
  • High level language
  • Interpreted language
  • Platform independent
  • Procedure and object oriented
  • Huge Library
  • Scalable

Application for Python

  • Web Application- dJango, Pyramid, Flask, Bottle
  • Desktop Application- Tkinter
  • Console Based Application
  • Games and 3D Application
  • Mobile Application
  • Scientific and Numeric
  • Data Science
  • Machine Learning - Scikit-learn and Tensorflow
  • Data Analysis- Matplotlib, Seaborn
  • Business Application

Requirements

  • Windows, Mac or Linux
  • Internet Access
  • Text Editor i.e. Notepad++, VS code

What is OOPS?

OOPS is a programming approach which revolvs around the concept of "object".
Any entity in the system that can be defined as a set of properties and set of operations performed using entity's property set, is known as object.'

  • Encapsulation
  • Data hiding
  • Abstraction
  • Polymorphism
  • Inheritance

Variables

variables are the names of memory locations where we store data.
variable name is any combination of alphabet (a to z or A to Z), digit(0 to 9) and underscore (_).


Rules for naming variables in C#

  • First character must be alphabet or underscore(_).
  • no commas, blanks allowed
  • no special symbol other than (_) allowed
  • variables names are case sensitive we must create meaningful variables name in our programms.

Keywords

Keywords are reserved words, whose meaning is already known to the compiler.

false await else import pass
none break except in raise
true class finally is return
and continue for nonelocal while
def from not with global
assert del if or yield
or async as elif

Comments

comments are used to clarify something about the program in plain languagqe.
comments can be used to prevent execution when testing code.
There are three types of comments in C#.

  • Single line comment.
  • Multi line comment.
  • Docstring comment.