F-Basic_To_Expert_Python_(11_Session)_(CodeWithKolin)
F-Basic_To_Expert_Python_(11_Session)_(CodeWithKolin)
Session) (CodeWithKolin)
Click To Register
Introduction to Python
What is Python
Features Of Python
Setting Up Environment
Install Python in Windows
Indentations
Reserved Keywords
Input Function
Constants in Python
Output Formatting
Rules Of Variables
Operators in Python
Bitwise Operations
x | y : Bitwise OR
x ^ y : Bitwise XOR
~x : Bitwise NOT
Mathematical Operations
x + y : Addition
x - y : Subtraction
x * y : Multiplication
x // y : Floor division
x % y : Modulus (remainder)
x : Negation
Code Layout
Naming Conventions
if elif Statement
Nested if Statement
Range
Data-Type
While Loop
Boolean Condition
Continue
Pass
Functions
User-defined functions
Built-in functions
Recursive functions
Decorators
Understanding Decorators
Function Decorators
Decorator Syntax
@functools.wraps
Iterators
Generators
With Statement
Data Compression
Modules
Understanding Modules
Types of Modules
Importing Modules
Creating Modules
Library
Python library
Data Type
Type of Data Type
Type Conversion
String
Integer
Float
Complex number
Boolean
Tuple
Dictionary
Frozen Set
String
Understanding Strings
String Formatting
String Methods
find() : Searches the string for a specified value and returns the
position of where it was found
split() : Splits the string at the specified separator and returns a list
startswith() : Returns true if the string starts with the specified value
endswith() : Returns true if the string ends with the specified value
alphanumeric
islower() : Returns True if all characters in the string are lower case
isupper() : Returns True if all characters in the string are upper case
swapcase() : Swaps cases, lower case becomes upper case and vice
versa
beginning
Regular Expressions
Escape Characters
Integer
Understanding Integers (Whole Number)
Integer Overflow
Integer Methods
real : Returns the real part of the number (for integers, this is the
number itself)
imag: Returns the imaginary part of the number (for integers, this is
always 0)
Floating-Point Precision
Float Methods
as_integer_ratio() : Returns a pair of integers whose ratio is exactly
equal to the float
format
imag: Returns the imaginary part of the number (for floats, this is
always 0.0)
: Returns the real part of the number (for floats, this is the
real
number itself)
Complex Number
Understanding Complex Numbers (real and imaginary parts)
Complex Methods
: Constructs a complex number. Takes real part
complex(real, imag=0)
Conditional Statements
Converting to Booleans
List
Understanding Lists
List Methods
index(x) : Returns the index of the first element with the specified
value x
List Comprehensions
Tuple
Understanding Tuples
Immutability of Tuples
Unpacking Tuples
Tuple Methods
Dictionary Methods
pop(key[, default]) : Removes the item with the specified key and
returns its value
popitem() : Removes and returns the last inserted (key, value) pair
Set Methods
Common Operations
Key Concepts:
try-except Block:
raise Statement:
finally Block :
OOPs Concept:
Understanding Classes and Objects:
Object Instantiation:
Single Inheritance
Multiple Inheritance
Polymorphism:
Method Overriding
Duck Typing
Operator Overloading:
Also known as data hiding, it's the bundling of data with the
methods that operate on that data. Encapsulation restricts direct
access to some of an object's components, which is a means of
preventing accidental interference and misuse of the methods
and data.
Class variables are shared among all instances of a class and are
defined within the class. Instance variables are unique to each
instance and are defined within methods. This distinction allows
for both shared state and instance-specific state within objects.
Class methods:
Methods that are bound to the class and not the instance. They
have access to the class state and can modify class-level
variables. Class methods are defined using the @classmethod
decorator and take the class as their first parameter,
conventionally named 'cls'.
Static methods:
Methods that are bound to a class rather than its object. They
don't access or modify the class state and are defined using the
@staticmethod decorator. They behave like plain functions but
belong to the class's namespace.
Abstract Classes:
abc Module
@abstractmethod Decorator
File Handling and Exception Handling
Understanding Exceptions
Handling Exceptions
Raising Exceptions
Advance Python
Context Managers
Concurrency
Multithreading
threading Module
Thread Synchronization
Multiprocessing
multiprocessing Module
Process vs Thread
Pool of Workers
Asynchronous Programming
asyncio Module
Networking
Socket Programming
Database Interactions
ORMs (SQLAlchemy)
Web Development
Introduction to Flask
Testing
Test Discovery
Introduction to pytest
venv Module
Using pip
Type Hinting
Custom Exceptions
Exception Chaining
Metaclasses
Descriptors
Coroutines
NumPy Basics