
Learn Python data types in a tutorial, discovering how variables infer types by value and how to inspect integer, floating point, string, boolean, list, double, set, dictionary, range, and bytes.
Learn how to create variables in Python, understand rules for valid names (start with a letter or underscore, no starting with a number), case sensitivity, and the value container concept.
Explore Python typecasting by converting between int, float, and string using int(), float(), and str() functions, with examples like 4.2 to int and numeric strings to int or float.
Master how indentation uses leading whitespace to define Python code blocks, using four spaces or a tab, and how proper indentation shapes blocks and avoids errors.
Explore Python's control flow statements and how the program executes from top to bottom. Learn about conditional statements, loops (for and while), continue, break, pass, and functions.
Learn how Python conditional statements work by using if, elif, and else to control program flow with real-world age examples and clear outputs.
Explore nested if statements in Python by evaluating total marks out of 500, using an inner if to assign grades and print results.
Learn to form conditions with the and, or, and is operators for control flow statements, using if conditions to compare values and determine outcomes.
Learn how the not and in operators work in Python, using real examples with age and string checks, and verify element existence in strings and lists.
Learn how loops in Python execute statements until a condition is satisfied, enabling repeated program logic for a number of times, with an introduction to for loops and while loops.
Practice using Python for loops to identify even and odd numbers in a range, print evens, and accumulate the sum of even numbers from 0 to 20.
Demonstrates nested for loops by calculating factorials for numbers in a range using an inner loop inside an outer loop, and printing results.
Explain the while loop in Python, showing how it accumulates a sum with a counter until the condition is met, and contrast it with the for loop.
Discover how the else clause works with Python loops, using for loops and break to show that the else block runs only after a loop completes without hitting break.
Create string variables
Access characters of string using index
Access string characters with negative index
Concatenate strings
Repeating strings
How to add special characters in the string.
What is Raw strings(r-string) in python
String class .
Variety of String functions to perform operations in the string.
Explore the remaining Python string functions, including is_space, title, and split, showing how to detect spaces, enforce uppercase words, and create lists from strings.
Slice strings in Python by specifying start and end indices to obtain substrings, including negative indices. Learn how omitting bounds yields a slice from the start or to the end.
Learn to format strings in Python by using multi-line strings with triple quotes and the format method to insert variables and literals in the correct order.
Explore Python lists by creating a sample list with square brackets, understanding that lists are ordered, index starting at zero, and support duplicates, with adding, deleting, and replacing elements.
Learn to loop through a Python list of fruits with a for loop, printing each item. Access items by index to retrieve specific elements.
Learn how to add elements to a Python list with append, index assignment, and insert. See how append adds to the end, insert shifts items, and assignment can replace elements.
Learn to delete elements from a Python list using pop, remove, and del. Explore deleting by index, clearing the list, and deleting the list itself, with errors for missing items.
Explore list slicing in Python by using positive and negative indices to access elements and extract sublists from a fruits list.
Learn how to check if an item is present in a list with an if statement using Python's in operator, and how to create and access nested lists.
Learn list comprehension in Python to create new lists from sequences using range, including squaring numbers 0 to 9 and filtering even numbers.
Identify the count of an item in a list, sort the list (ascending by default or descending with reverse), then copy the list, noting that mixed data types cause errors.
Loop through a Python list to separate numbers into odd and even lists using a modulo check and append operations.
Count item occurrences in a Python list, count all elements with groupby, reverse and add lists, create nested lists, repeat items, and find max and min values.
Learn how Python sets work, including unordered storage, no indexing, and no duplicates; create sets with curly braces or the set() constructor for empty sets, and mix data types.
Delete items from a Python set using remove and discard, compare behavior with existing versus non existent elements, and note that sets have no order leading to unpredictable deletions.
Learn how to use Python set methods to determine length with len, clear sets, perform difference_update, update with intersection_update, test for disjoint sets, check supersets, and copy sets.
Explore Python dictionaries by learning key-value pairs in curly braces, understand mutability for adding, deleting, and replacing items, and recognize dict as the Python data type.
Master accessing dictionary data by key, retrieving single values, and iterating to obtain multiple items using values, items, and keys, including lists of keys and values.
Learn to add new items to a dictionary using a new key and assign values, then replace existing values by updating the key with a new value, using square brackets.
Explore how to check for key and value existence in a Python dictionary, determine its length, and use non-string keys and diverse value types such as lists and dictionaries.
Learn how to delete items from a Python dictionary using del with a key, then use the recommended method to delete the key, and finally clear or delete the dictionary.
Define tuples as ordered, immutable collections of items in round brackets separated by commas, allowing duplicates; use an example with even numbers to illustrate indexing and immutability.
Learn to access items from a tuple in Python using positive and negative indexing, a range of indices, and a for loop.
Learn how to unpack items from a tuple in Python into variables, assign values when lengths match, and use a star to handle extra elements, with examples of three variables.
Learn to concatenate tuples with the plus operator and repeat elements via multiplication, then use count to show repetitions and index to locate the first occurrence.
Explore how Python functions, also known as methods, are blocks of code that execute when called, how to define and call them, and why they save time by avoiding repetition.
Create and call Python functions, mastering function definitions, parameters, and return values. Explore how functions boost reusability, save time, and reduce code length through practical examples.
Learn how keyword arguments make function calls order-insensitive by explicitly naming parameters, as shown with name, country, and age in a details function.
Learn lambda functions in Python, a way to create anonymous one-line functions. See examples for square, add ten, and the average of three numbers, plus using lambdas inside other functions.
Learn to use lambda functions with filter and map to process lists, filtering prices above a thousand and halving values, and returning a lambda from a function.
Implement two functions to calculate a number's factorial and print the Fibonacci series, using zero and one as starting values and summing the previous two terms.
Learn how to return a function from inside another function in Python, using inner helpers to uppercase and title-case student details and pass results back through the call chain.
Learn object oriented programming in python by exploring classes, objects, and inheritance. Create a class for file operations with methods to open, write, read, and close.
Explore the difference between instance variables and class variables in Python using a car example with name and color as instance variables, country as class variable.
Learn how to inspect and modify a Python object's attributes using built-in methods like dict and vars, and setattr, hasattr, and del on a car class instance.
Model 4g internet offers with a single class that stores amount, validity, data per day, and service provider, then create objects to show details using a method.
Explore static variables in Python, which belong to the class and are shared by all objects. Access them with the class name and observe how object methods can modify them.
Explore how static methods belong to the class, not instances, and you access them via the class name, using a sold product example with get_details data.
Learn how method overriding enables a child class to provide its own show details implementation, using inheritance to override a parent's method with the same name and arguments.
Explore the super method in Python inheritance, initializing base class variables from a child class and calling base methods. See how overriding and super calls access the university details example.
Explore multilevel inheritance with a university, college, and student class chain. Discover how university data and methods flow to college and then to student, using init for name and age.
Learn Python In The Best Way .
A course to make you completely familiar with Python
Become a python programmer and learn all python skills needed for the IT job.
Complete the course and crack the python interviews and get placed with good salary.
The course is 10 hours long and built in such a way that once you complete the course you will no longer need to search the internet for python related stuffs. Because everything is covered in this course for you.
Chapters and Contents
1. Control Flow Statements :
Learn what are control flow statements and loops. Do sample programs with loops and control flow statements.
2. Lists :
All operations on python lists
3. Strings :
All operations on strings and string formatting
4. Dictionary :
All operations on dictionary
5. Tuple : All tuple operations
6. Set : All set operations
7. Functions
Writing and calling python functions
Type of functions in python
lambda functions
User defined vs built-in functions
8. Object oriented programming (OOPs)
Creating classes
Inheritance
Types of inheritance
Method overriding
9. Exception handling
What are exceptions
Handling exceptions
Checking for multiple exceptions
Creating our own exception
10. Modules and packages and libraries
What is a module,package,and library
Built-in vs User defined modules
Built in modules in detail
11. Date and time operations
Date and time operations using datetime module
12. File operations
All file operations - reading ,writing, appending
13. Iterators and Generators
14. Regular Expressions -Regex
How to use regex in python - re module
regex practical applications - finding email,phone numbers and other values from strings
15. Python and CSV Files
Reading data from CSV Files
Writing data to the CSV File
16. Python pandas - widely used library for data analysis
Creating dataframe
All operations on dataframe
reading and writing to csv and excel
data analysis operations
17. Python and MySql
Create database
add data to table
read , update and delete data from database table.