Skip to content

srsonti/PythonBatchSept2024

 
 

Repository files navigation

PythonBatchSept2024

Git Commands

To clone a repository,

git clone https URL 

To stage the changes

git add <filename>

To commit the changes

git commit -m "commit message"

To push the changes,

git push origin <sourceBRanch>

    class01 -> main
    git push origin class01

To check/verify the modified content in existing file,

git diff <filename>

Daily

To check the branch is clean, 

    git status 

To checkout to the main branch 
    git checkout main 

To get the latest changes 
    git pull origin main 

To create new branch 
    git checkout -b <NEW BRANCH NAME>

Course Completed

class01 sept 18th

00. Dev Setup
    Installing IDE/Editor
    Installing Python and local setup
    Github access, creating project

class02 sept 19th

01.Introduction

    Introduction to python
    shebang line & usage
    Dynamic Typing
    Basic data types supports 
    Indentation issue 

class03 sept 23rd

    built-in functions
    Comment Operator
    keywords and Identifiers
    strictly-typed and data type conversions
    python interactive mode
    Line continuation operator

class 04 sept 24th

02.Basics
    Arithmetic operations
        +, -, , /, //, %, *
        divmod() function
        compound operations
        jupyter notebook 

class 05 sept 25th

        Practical Problem solving
        working with complex numbers
        abs() function
        Operator precedence in Arithmetic operations

class 06 sept 26th

02.Basics
    String operations
        Usage of single, double and triple quotes
        len() function
        Indexing 

class 07 sept 30th

        Slicing Strings
        string attributes

class 08 Oct 1st

        String formatting: old & new styles, f-strings
        bytearray() and byte() strings
        unicode strings
    Usage of help
    Usage of pydoc

class 09 Oct 2nd

03.Language Components
    Relational Operations
    Logical Operations
    Boolean Operations
    Bitwise Operations
    Identity Operations
    range() function

class 10 Oct 3rd

    Conditional Operations
    Structural Pattern Matching
    Loops: for & while,

class 11 Oct 4th

    Solving Game problems
    Loops: break, continue, pass, sys.exit
    Walrus Operator


04.Exception Handling
    Exceptions Hierarchy
    Different types of errors, error vs exception and exception groups

class 12 Oct 5th

    Handling single and multiple exceptions
    raising exceptions
    asserts
    Exception Groups
    Exception hooks
    traceback
    warnings

class 13 Oct 7th

05.Debugging
    Importance of logical errors
    Debugging with pydevd
    Debugging with pdb, ipdb, pudb
    breakpoint() function
    PYTHONBREAKPOINT environment variable usage

06.Collections
    Lists

class 14 Oct 8th

    Lists
    Tuples

class 15 Oct 9th

    namedtuples
    Sets
    Dictionaries
        zip() function
        workaround for switch case
    Comprehensions

class 16 Oct 10th

    Comprehensions

   Working with Iterables - sum(), max(), min()


07.Functions
    Functions with & without arguments, keyword arguments
    Functions with Different return types and unpacking
    Functions with with Default arguments
    Memory Leakage problem with default mutable args

class 17 Oct 11th

    variadic functions : variable arguments and variable keyword arguments
    Functions with keyword only arguments
    Scoping: Global vs Local
        call by reference
        call by value
    Partial Functions
    Anonymous(Lambda) Functions
    Higher order functions: map(), filter(), functool.reduce()
    Recursions and recursions limit

class 18 Oct 14th

    [Part 2](https://us06web.zoom.us/rec/share/deTXbiWZJiMw4fdFxnOnagUBTIiBc-Ir9UPvMYmPzzHaMrxCbCI_KPgMkIi9PW4X.7RFXA6CRYqWMByx8)

    inner functions
    closures

08.Decorator Design Pattern
    Necessity
    function Decorator
    Practical Examples
    syntactic sugar for decorators
    multiple decorators on same function
    decorators with arguments
    functools - wrap, lru_cache
    class decorator

class 19 Oct 15th

09.Iterables, Iterators, Generators and co-routines
    Iterables
        different ways of extracting values from iterables
    Iterators
        iter() protocol
        itertools module

class 20 Oct 17th

   Generators
        yield vs return
        function vs Generator
        Generator pipelining
        Generator Expression

class 21 Oct 18th

    Coroutine
        Generator vs Coroutine
        coroutine pipelining


10.Modules
    Basic Modules
        - math, sys, argparse,

class 22 Oct 21st

     os, subprocess, 

class 23 Oct 22nd

    shutil, pathlib,getpass
    time related
        - time, timeit, cprofiler

class 24 Oct 23rd

        datetime, pytz, calendar
        pendulum

    others
        - random, collections, atexit, base64

    create user-defined module
    creating user-defined package

class 25 Oct 24th

11.Logging
    Simple logging
    configuring log file
    formatting logs and adding timestamp
    working with file handler and stream hanlder
    configuring multiple handlers
    color logging
    Rotating logger

class 26 Oct 22nd structlog Loguru sentry integration

12.File Operations
    flat files

class 27 Oct 26th

    content manager with file operations
    Non-flat files
        Serialization
            pickle
            shelve
            messagepack

        Semi-Structured Data   
            xml
            html
            csv/ dat

class 28 Oct 28th

        xls/xlsx
        json
        yaml
        parquet
        avro

    zipping files: .zip, .tar

class 29 Oct 29th

13. OOP
    Importance of OOP
    Instantiation and managing attributes
    constructor and Importance of self
    instance and class variables
    Encapsulation
    MRO, Single and multiple inheritance, composition
    Method Overwriting, Operator Overloading
    instance, class and static methods
    property decorator

class 30 Oct 30th

    Dunder(magic) methods
    reprlib module
    creating context manager class
    Dataclasses
    Abstract Classes & methods
    Enum
    Datastructures - stack, Queue, LinkedList
    Design patterns - Singleton

class 31 Nov 1st

14. Regular Expressions
    re module
    compiling regex objects
    match & search
    find & finditer
    regex Flags
    Greedy & Non-Greedy patterns
    findall & finditer
    sub and subn
    regex Flags
    groups and groupdicts
    Pearl-style regexes
    Realworld Problem (log analyses, email Validation, etc)
    Look Assertions

class 32 Nov 2nd

15. Code Quality
    static code analyzers
       pylint
       black
       mypy
       typing
    Code Analyzers
       cProfiler
       memory_profiler
       objgraph
       disassembler
       inspect
       lib2to3
       weakref
    Doctest

class 33 Nov 5th

    assertions
    unittest
    coverage

class 34 Nov 6th

    pytest
    fixtures

17. Web Services
    FTP 
        simplehttpserver
    RPC
        xmlrpc
        jsonrpc

    SOAP API

Course Planned

class 35 Nov 7th

    consuming REST API
    scraping web pages
    urllib, requests


16. Databases
    db files - sqlite3
    Relational DB - MySQL
    Non-Relational DB - mongoDB

class 36 Nov 8th

18. Data Science
    statistics
    Numpy
    Pandas
    Matplotlib

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 91.1%
  • Python 8.8%
  • Roff 0.1%