Python

INTRODUCTION TO PYTHON

PYTHON FOR BEGINERS

PYTHON CLASSES AND INSTANCES

Class Variables 

Classmethods and Staticsmethods

Inheritance-Creating subclasses

Special methods

 

CLASS TIPS

  • Class allow us to logically group data and functions in a way that is easy to reuse and also build upon.
  • Data and functions associated with a class: we call those attribute and methods.
  • Class is a blueprint to build for creating instances.

CLASS VERABLES

CLASSMETHODS AND STATICSMETHODS

INHERTANCE-CREATING SUBCLASSES

SPECIAL METHODS (DUNDER)

PROPETY & DECORATORS

PYTHON ADVANCED FEATURES

  1. GENERATORS
  2. DECORATORS
  3. COLLECTIONS MODULE
  4. CONTEXT MANAGERS
  5. ITERTOOLS MODELS
  6. PACKING & UNPACKING

Python is :

  • Hight-level
  • Free, open-source
  • Dynamic typed
  • Easy to learn

Use of Python For :

  • Rapid Development
  • Scripting
  • GUI's
  • System functions

Python is a programming language preferred by programers and Hackers Because it is a hight-level language, easy and fast to learn, it has a simple and beautiful syntax. In computer science , a high-level programming language is a programming language with strong abstraction from the details of the computer.In comparison to low-level programming languages, it may use natural language elements, be easier to use, or may automate significant areas of computing system making the process of developing program simpler and more understandable relative to a lower-level language. Another reason why Python is preferred and the most important is that: you can use Python to build programs and your thoughts much more faster then low-level languages, it saves you a lot of time.

Python in real World

Python is a multipurpose language. It is used in many fields in our world you can see it everywhere good examples are below :

  • Data Science

Core libraries for Data Science

  1. NumPy
  2. SciPy
  3. Pandas

Visualisation

  1. Matplotlib
  2. Seaborn
  3. Bokeh
  4. Plotly

Machine Learning

  1. SciKit-Learn

Deep-Learning

  1. TensorFlow
  2. Keras

Natural Language Processing 

  1. NLTK
  2. Gensim

Data Mining

  1. Scrapy

 

  • Internet Protocols

  1. urllib
  2. http
  3. cgi
  4. xmlpar
  • Science

Numeric and Scientific 

  1. NumPy
  2. SciPy
  3. SymPy
  4. PyGSL

Image Processing and Analysis

  1. Thuban
  2. PySAL
  3. sDNA

Life Science 

  1. Biopython
  2. PyChem

Space Science

  1. Astropy
  2. SunPy
  3. Spacepy

more here

  • Web Development

  1. Django
  2. Flask
  3. Tornado
  4. Falcon

here more

  • Desktop GUI's

  1. Pygame
  2. PyGUI
  3. Tkinter

here more

  • Business Software Development

  1. Pyglet
  2. Peewee

more here

Python has a very large list of modules  there are libraries for everything that you can think of. Click here for a list of libraries.

Python's Data Type

Here is a set of python built-in data types:

  • Numbers
  1. There are integers
  2. There are long integers
  3. There are floats
  4. There are Octal
  5. There are complex
  • Strings
  1. Strings are denoted with double quotes here is a list what you can do with them.
  2. Concatenation
  3. Repetition
  4. Indexing
  5. Slicing
  6. Iteration
  7. Strings are immutable
  • Lists
  1. Lists are used for data structure
  2. Lists are mutable
  3. You can do Concatenation
  4. Repetition
  5. Indexing
  6. Slicing
  • Sets
  • Dictionaries
  • Tuples
  • Files

HOW TO LEARN PYTOHN