Python Language Skill UP
  • Twitter
  • Facebook
  • Snapchat
  • Instagram

Python

Python: is general-purpose high-level ,dynamically typed and widely used and Top trending programming Language.It has code readability with use of significant identation and supports multiple programming paradigms, including structured, object-oriented and functional programming etc.
Multiple programming paradigms means it supports different styles of writing code. One can write Python code in procedural, object oriented, functional or imperative manner.
Functional programming: In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions.
Object-oriented:Object oriented programming is a programming paradigm based on the concept of "objects", which can contain data and methods to operate on data. The data in object oriented is represented in the form of fields or attributes and the method or code is in the form of procedures. A common feature of objects is that procedures are attached to them and can access and modify the object's data fields.
Procedural:A procedural language is a computer programming language that follows, in order, a set of commands. It breaks problems into smaller subproblems, making them accessible and faster to solve. Program written are strait forward and interpreted.Procedural programming is a part of the programming paradigm that works on a linear or top-down approach.

History Of Python

Guido Van Rossum: invented the Python language. He was born on 31 January 1956 in Haarlem, outside of Amsterdam in the northwest Netherlands. but the real implementation started in 1989 in December. That time when Guido Van Rossum was working on their research project at Centrum Wiskunde & Informatica (CWI) in the Netherlands.
Python is said to be a successor to the ABC programming language and was inspired by STEL(SET Language), which was based on the set theory in mathematics. Previously Guido Van Rossum worked on ABC programming language at CWI in the Netherlands.
Van Rossum published Python on 27 February 1991 to the public. It was a great need for a discussion forum, so in 1994, the primary discussion forum for Python was formed.
There is a fact behind choosing the name Python.The name Python does not relate to Reptiles(Python). Guido van Rossum was reading the script of a popular BBC comedy series "Monty Python's Flying Circus". It was late 1970s.
Van Rossum wanted to select a name which unique and mysterious. So he decided to select naming Python after the "Monty Python's Flying Circus" for their newly created programming language.
The comedy series was creative and well random. It talks about everything. Thus it is slow and unpredictable, which made it very interesting.
Python is widely used in almost every field including such as Data Science,Machine Learning, Artificial Intelligence, Web Development, Mobile Application, Desktop Application, Scientific Calculation, Health Care, Transportation,NASA etc.

Featurs of Python

As General purpose language Python Brought Many Features.
1.Easy:
Python is a very developer-friendly language which means that anyone and everyone can learn to code it in a couple of hours or days. As compared to other object-oriented programming languages like Java, C, C++, and C#, Python is one of the easiest to learn.Python code looks like simple English words. There is no use of semicolons or brackets, and the indentations define the code block. You can tell what the code is supposed to do simply by looking at it.
2. Free and Open-Source
Python is developed under an OSI-approved open source license. Hence, it is completely free to use, even for commercial purposes. It doesn't cost anything to download Python or to include it in your application. It can also be freely modified and re-distributed. Python can be downloaded from the official Python website.
3.High Level:
Python is the high Level Language.A high-level programming language has a significant abstraction from the details of computer operation. It is designed to be easily understood by humans and for this reason they must be translated by another software
4.Interpreted:
Python is the interpreted language and also known as scripting Language.In computer science, an interpreter is a computer program that directly executes instructions written in a programming or scripting language, ..
an interpreted programming language does not need to be compiled before its programs are executed.
5.Portable:
Python is Portable Means that can be run on different computers running different operating systems and architecture with no or little modifications.
6.Extensible:
Python is an Extensible language. Extensible Means you can add new behavior without changing existing code.We can write some Python code into C or C++ language and also we can compile that code in C/C++ language.
7.Expressive:
Python is an expressive language. Expressive imeans that a single line of Python code can do more than a single line of code in most other languages. The advantages of a expressive language are – the fewer lines of code you write, the faster you can complete the project.
8.GUI:
A graphical user interface: is an application that has buttons, windows, and lots of other widgets that the user can use to interact with your application.Python offers multiple options for developing GUI (Graphical User Interface). tkinter is the most commonly used method. It is a standard Python interface to the Tk GUI toolkit shipped with Python.tkinter is easy and fastest way of creating GUI in Python
9.Dynamic and Strongly Typed:
Python is both a strongly typed and a dynamically typed language. Strong typing means that variables do have a type and that the type matters when performing operations on a variable. Dynamic typing means that the type of the variable is determined only during runtime.
10.Robustness :
Ability of a program to continue if there is any abnormal condtion in the programs input,calculations and operations etc. In computer science, robustness is the ability of a computer system to cope with errors during execution
11.Dynamic Memory Allocation:
Python Supports dynamic Memory Allocation which is managed by heap data Structure. Memory management in Python involves a heap containing all Python objects and data structures. The management of this p heap is ensured internally by the Python memory manager. The Python memory manager has different components which deal with various dynamic storage management aspects, like sharing, segmentation, preallocation or caching . A heap is the pre-reserved computer memory that a program process can use to store data. Objects and variables use this memory Area.

Python

  • Home
  • History of Python
  • Applications of Python
  • Introduction To Python
    • What is Python.
    • Character Set
    • Tokens in Python
    • Python Execution Mode
    • Variable And Identifiers
    • Data Types in Python
    • Operators And Expressions
    • Constants in Python
    • Assignment Statement
    • Input / Output in Python
    • Simple 'Python' Scripts
    • Namespace in 'Python'
    • Assignments
  • Operators in Python
    • Arithmetic Operators
    • Assignment Operators
    • Shorthand Assignment Operators
    • Relational Operators
    • Logical Operators
    • Bitwise Operators
    • Special Operators
    • Assignments
  • Input Output in Python
    • Accept Input
    • Output Formating
  • Conditional Statement
    • Decision Making
    • if Statement
    • IF-ELSE STATEMENT
    • IF-ELSE LADDER
    • NESTED IF-ELSE
    • short hand IF-ELSE
    • Assignments
  • Loops
    • Introduction to Loops
    • While Loop
    • Nested While Loop
    • while loop assignments
    • for Loop
    • For loop examples
    • Nested for loop
    • Nested for loop examples
    • Infinite while Loops
    • Infinite for Loops
    • break,continue and else in Loops
    • Difference between for and while loop
    • for each loop
    • for each Assignments
  • List
    • List in Python
    • Access List elements
    • List functions
    • Iterate(loop)List
    • List comprehension
    • List Assignments
  • Tuple
    • Tuple in Python
    • Access tuple elements
    • tuple functions
    • Iterate(loop)tuple
    • Unpack Tuple
    • tuple comprehension
    • tuple Assignments
  • set
    • Set in Python
    • Access set elements
    • set Methods
    • Iterate(loop)set
    • Pack/Unpack Tuple
    • tuple comprehension
    • set Assignments
    • Set comprehension
  • Dictionary
    • Dictionary
    • Access dictionary Items
    • dictionary method
    • Iterate(loop)Dictionary
    • formating Dictionaries
    • Nested Dictionaries
    • dictionary comprehension
    • dictionary Assignments
  • Diff list tuple set dictionary
    • list vs tuple
    • list vs set
    • list vs dictionary
    • tuple vs set
    • tuple vs dictionary
    • dictionary vs set
  • Exception
    • Error vs Exception
    • Exception Handling
    • Types of Exception
    • User Defined Exception
    • Logging Exception
    • assignments
  • Functions
    • Introduction
    • Modular Programming
    • Type of functions
    • Inbuilt Function
    • Need For User-Defined Function
    • Elements Of User Defined Function
    • Function Argument
    • Nesting of Function
    • Recursion
    • Global Local and Non Local
    • Python Lambda Functions
    • Assignments
  • Python Module
    • introduction to module
    • Inbuilt Module in Python
    • User Defined Module in Python
    • Assignments
  • File Handling
    • Introduction to files
    • Create File
    • Read files
    • Write to File
    • Rename File
    • Copy File
    • Move file
    • List files in Directory
    • Binary files
    • Zipping and unzipping files
    • Assignments
  • Strings
    • Basics of Strings
    • String Special Operator
    • String Formatting operator
    • String methods
  • Regular Expressions
  • Python OOPS
    • Basics of Object Oriented
    • What are Classes and Objects?
    • Creating Class and Object
    • Diff object oriented and procedural oriented programming
    • difference between classes and object
    • Constructors
    • destructor
    • built class methods and attributes
    • class and instance variable
    • Inheritance in Python
    • Single Inheritance
    • Multiple Inheritance
    • Multilevel inheritance
    • Hierarchical Inheritance
    • Hybrid Inheritance
    • Abstraction
    • Method Overriding
    • Abstract Method
    • Interfaces in python
    • Abstract class vs interface
    • Public in python
    • Private in python
    • Protected in python
    • Overloading Vs Overriding
    • inheritance vs composition
    • Encapsulation
    • Polymorphism
    • inner classes
    • Opps Assignments
  • Mysql database in python
    • introduction
    • DBMS vs file
    • connecting to database
  • Mysql database Operation
    • Select
    • Operators
    • DDL
    • DML
    • subqueries
    • joins
    • Case study
  • Graphics
  • Iterator in python
  • Generator in python
  • decorator in python
  • Threads in Python
    • introduction
    • process and threads
    • concurrent programming and GIL
    • Uses of threads
    • creating Threads
    • Single tasking
    • multi tasking
    • thread synchronization
  • Frequently Asked Interview Questions (FAQ)
  • Case Studies
  • Multiple Choice Questions

Get in touch

  • tech2dsm@gmail.com

© tech2dsm. All rights reserved.