Lecture 1: Syntax, String format
For Tomorrow
Lecture 1: Syntax, String format
*Variables *Syntax *Indentation *Comments *Line Structure *Multiline Statements *Backward slash *String in Triple Quotes *Docstrings *Multiple Statements in one line *Quotations *Blank Lines *Identifiers or Keyword *String Formatters *Format method *F-strings
🔐 only for members
🔒
🔐 only for members
🔒
🔐 only for members
🔒
Lecture 4: Functions In Python
theory *concepts *write your 1st function * point of views: parameters & arguments * types of arguments *args *how to access the documentation of a func * kwargs * How functions are executed in memory? *without return statement *Variable scope *Nested functions *some examples of nested functions *functions are 1st class citizens *deletion of functions *returning a function * benefits of using a function *lambda function *lambda vs Normal func *higher-order function * map() *filter() *reduce()
🔐 only for members
🔒
Lecture 5: String In Python
*Create a python string *Indexing/negative indexing * slicing *edit & delete a string *operations on strings * common string functions *Capitalize, Title Upper, Lower, Swapcase functions *Count, Find, Index functions *endswith, startswith *format() *isalnum, isalpha, isdigit, isidentifier function *split() & join() *replace() *strip()
🔐 only for members
🔒
Lecture 6: Lists In Python
*what are Lists, *Array vs Lists *How lists are stored in memory *Characteristics of a List *Create a list *Accessing items from a list *add: *append() *extend() *insert() *Editing items *Deleting *del *remove() *pop() *clear() *Operators on Lists: Arithmetic, Membership, and loop *List Function: len(), min(), max(), sorted(), count(), index(), reverse(), sort(), copy() 01:26:00 *List Comprehension * 2 ways to traverse a list (loop): item wise & index wise *zip() function
🔐 only for members
🔒
Lecture 7: Tuples + Sets + Dictionary
*Create a tuple *Access, Editing items (error) *Adding (error) *Deletion *Operations on tuple *tuple functions *Lists vs tuples *Special syntax *Zip() *Create a set *Accessing items (error) *Editing (error), Adding, Delete items *Set operations *Set functions *Frozenset (immutable set) *Set comprehension *Create a dictionary *Accessing *Adding *Remove *Editing key-value pair *Dictionary operations *Dictionary functions *Dictionary comprehension *zip() *Nested comprehension
🔐 only for members
🔒
Lecture 8: Object Oriented Program: Class & Object
*What is OOP? *What is Object? *Class & Object *Banking Application *Creating Atm Class *ATM class Functionality *Constructor *Check Balance Function *Withdraw Function *Methods vs Function *Class Diagram *Magic Method/ Dunder Method *When to use Constructor * concept of - self *Fraction Class * _str_ *_add_ *_sub__, __mul__, __truediv_
🔐 only for members
🔒
🔐 only for members
🔒
Lecture 10: OOP: Inheritance & Polymorphism
*Inheritance *Inheritance Class Diagram *What gets Inherited *Constructor Example *Method Overriding *Super Keyword *Super Constructor *Type Of Inheritance *Single Inheritance *Multilevel Inheritance *Hierarchical Inheritance *Multiple Inheritance *Hybrid Inheritance *Polymorphism *Method Overriding * Method Overloading *Operator Overloading
🔐 only for members
🔒
Lecture 11: File Handling
Types of Data in Input Output *How File I/O is done in most programming languages *Writing to a file - TXT file. New file *Writing multiple lines *Writing to a file - TXT file. *Existing file *How open() works? *Problems with 'w' mode. *Append mode is solution' *Writing many lines *Saving files at any location *Reading from Files read() 36:20 Reading from Files readline() *Reading big file line by line *Using Context Manager (With) *Reading 10 char at a time till end file *Reading big file in chunks *Seek and Tell *Problems with text file *Working with binary file *Working with other data types in file handling
🔐 only for members
🔒
Lecture 12: Serialization, Deserialization & Abstraction
*Serialization and Deserialization *Serialization using JSON module .dump() *Deserialization using JSON .load() *Serialization and Deserialization of tuple *Serialization and Deserialization of nested dict *Serialization and Deserialization of custom object *Pickling *Pickle vs JSON *What is Abstraction *Bank Example Hierarchy *Abstract Class *Coding Abstract class Eg-BankApp Class
🔐 only for members
🔒
Lecture 13: Recursion, Iterators & Generator
*What is recursion *Syntax of recursion *Some example of recursion * What is iteration *What is generator
🔐 only for members
🔒
Lecture 14: Exception Handling, Modules & packages
*Exception Handling *Stages Where error may Occur *Syntax Error *Examples *Index Error *Module Not Found error *Key Error *Type Error and Value Error *Name Error *Attribute Error *Exception *Example *Why we need to handle Exception? *Try Except Block *Multiple Error *Handling Specific Error *Try - Except - Else *Try - Except - Else - Finally *Raise Exception * Creating Custom Exception
🔐 only for members
🔒
🔐 only for members
🔒