Python Step-by-Step


How it works:

  • Go through the notebooks one by one.

  • Read each section to digest the concepts

  • Apply immediately on the notebook by adding more coding cells

Warming up

  • What is Python

  • How it works

  • How to use Colab

  • Variables

Logic

  • Boolean logic

  • Logical Operators

  • Opertors

Numbers

  • Integers

  • floats

  • Math operations

  • Round / Hex / Binary

Strings

  • What is string?

  • Split

  • Capitalize

  • Find

Objects

  • List [ ]

  • Dictionary { : }

  • Tuple ( )

  • Sets { }


Statments

  • If

  • elif

  • else

  • for

  • while

Functions

  • def

  • *args

  • **kwargs

  • Lambda expression

Python Magic CMD

  • %%writefile

  • %%html

  • %%javascrip

Object-Oriented Programming:

  • Glasses

  • inheritance

  • Special Method

Python Packages / Libraries + Modules + functions + Scripts

  • PyPI

  • !pip

  • Packages & Modules

  • __name__ and "__ main __"


Errors & Testing

  • try

  • Except

  • Finally

  • unittest

Decorators

  • Plug-in / Mount (ON/OFF) switch

Generators

  • Yield

  • Next

  • iter

Python Built-in modules

  • Collection / OS /Date time

  • Math / Random / Python debugger

  • Timeit / Regular expressions / Zip & Unzip

  • Real-life Problems