Python Day1 :3-Nov-2025
Python Full stack Developer
What is full stack developer do?
A Full stack Developer is a software Professional who can build both the front end and backend parts of a web application.
Full-Stack Developer = Front-end + Backend database + Deployment
1.Front-end(Client side)
This is the part users interact with the website's look and feel.
Skill & technologies:
HTML -->Structure of web pages
CSS-->Staying and layout
Java Script -> Interactivity
Framework/Libraries -->React,Angular,Jquery,etc.
2.Back-End(server side)
This is the brain of the application -where logic,database,and processing happen.
Skills & technologies:
Programming Languages-->Python, java, C# Nodes.js
Frameworks -->Django,Flask,Sprint Boot,ASP.NET
Databases-->Mysq,Postgressql,MongoDB
APIs-->Restful
Road map to Become a Full-stack Python Developer
1.ProgrammingLanguage (Python,C,C++,C#,Java,Ruby,NodeJS,etc..
2.Scripting/Front-end Languages(JavaScript,jQuery,HTML,Style Sheets,etc
3.Database Knowledge(Mysql,Sql server,Orace,Nosql(MongolDB,DynamoDB)etc)
4.Web framework/Techonologies(Django,Flask,ASP.Net,MVC,Spring Boot,etc)
5.Version Control/repositories(Git/Github,Bitbucket,..etc)
6.Operating System(Linux base os(Ubuntu,Amazon Linux),window,Macos,etc)
Python Day2:4-Nov-2025
What is a programming Language?
A programming Language is a type of compute language specifically designed to write programs -sets of instructions that a computer can execute to perform specific tasks.
Ex: Python, C#, C++, Java, JavaScript,etc
Purpose:To develop application ,To control hardware and software behavior, To solve computational problems.
Type of Programming Languages
Programming languages can be broadly divided into three main types:
1)Low-level languages: These are close to machine language(binary or assembly),not understand to human
Ex: Assembly Language, Machine code.
2)High-level languages: Easier for human to read and write ,They use English like word
Ex:- Python,Java,C#,C++,Java Script
3)Scripting languages: A type of high-level language mainly used for automation,web development, and processing
Ex:-Python,Java Script,Perl,Ruby,PHP
Introduction to Python -History of Python
Created by Guido van Rossum
Year :1989(released in 1991)
Origin: Developed in the Netherlands at CWI(Centrum Wiskunde & informatica)
Named after: "Monty Python's Flying circus", a British Comedy show --not the snake!
Design goal: To make programming simple ,readable , and fun
Python version:
Python 1.0 -->Released in 1991
Python 2.0 -->Released in 2000(added Unicode support)
Python 3.0 -->Released in 2008(modern version, still used today)
Current version 3.14 https://www.python.org/
Importance of Python
Python is one of the most popular and versatile programming languages today.
Easy to Learn: Simple syntax,like english
Versatile: Used for web, AI data science automation
Open source: Free to use and modify
Cross-platform: Runs on windows, Mac, Linux
Huge community: Millions of developers and libraries.
Powerful libraries: NumPy, Pandas, Django, TensorFlow, Flask, etc
What can I Build Using Python ?
Web Development --> Django,Flask,Websites
Data Science -->Data analysis , Visualization
Artificial Intelligence --> Chatbots,Voice Assistants
Machine learning --> Predictive models,r recommendation systems
Game development -->2D/3D games Using Pygame
Desktop application -->GUI tools(Tkinter,PyQt)
Automation --> File renaming,email sending,web scraping
Cybersecurity -->Network scanners, password managers
Internet of things(IOT) -->Smart home systems
Installation
Step1: Download latest version https://www.python.org/downloads/
Check both these option
- Use admin privileges when installing py.exe
- Add python.exe to PATH
Click Install Now
C:\Users\Administrator>python --version
Python 3.14.0
IDE environment for Python
An IDE is a software application that provides everything
What PyCharm?
PyCharm is an IDE (Integrated Development Environment) used for writing ,running and debugging python programs efficiently.
It's one of the most popular tools for Python developers, created by a company called Jetbrains
Download
https://www.jetbrains.com/pycharm/download/?section=windows
VS Code ?
Visual studio code is free ,open-source editor developed by microsoft ,Most popular tool used by developer worldwide ,including Python programmer to write,run and debug code.
https://code.visualstudio.com/download
Python Day3:5-Nov-2025
Installation PyCharm
Installation VS Code
Python Day4:6-Nov-2025
Python syntax and structure:
- Syntax mean the set of rules that define how code must be written so python can understand it.
- Python's syntax is designed to be clean, readable , and simple -- it uses indentation(spaces) instead of braces {} .
- code runs top to button, directly
For ex:
It will treated as String
val1 = input("Enter first value: ")
val2 = input("Enter second value:")
print("You entered:", val1 + val2)
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python syntax.py
Enter first value: 20
Enter second value:26
You entered: 2026
Type casting:
val1 = int(input("Enter first value: "))
val2 = int(input("Enter second value:"))
print("You entered:", val1 + val2)
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python syntax.py
Enter first value: 20
Enter second value:26
You entered: 46
IF condition :
val1 = int(input("Enter first value: "))
val2 = int(input("Enter second value:"))
if val1 > 100:
print("First Value exceeds 100.")
if val2 > 200:
print("Second Value exceeds 200.")
print("Sum of the above values entered:", val1 + val2)
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python syntax.py
Enter first value: 200
Enter second value:300
First Value exceeds 100.
Second Value exceeds 200.
Sum of the above values entered: 500
Method
name = input("Enter your name: ")
def greet_user():
print("Hello, " + name + "! Welcome to the program.")
return "Greeting sent."
greet_user()
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python syntax.py
Enter your name: Subrahmanyam
Hello, Subrahmanyam! Welcome to the program.
This f means formatted string display the value between string
print(f"Hello,{name}, Welcome to the program.")
Single line Comments
# This is the Single line
Muti-line Comments : Use Triple quotes """ """ or ''' '''
""" Calling the function to greet the user """
''' Calling the function to greet the user '''
- Function Documentation (Doc String)
Every function can have its own docstring to describe what it does
Single Doc string
def add(a,b):
""" This function adds two numbers and returns the result """
return a + b
print(add.__doc__)
Multiple doc string
def add(a,b):
""" This function adds two numbers and returns the result
Second function adds two numbers and returns the result1 """
return a + b
print(add.__doc__)
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python method.py
This function adds two numbers and returns the result
Second function adds two numbers and returns the result1
- Code Errors and Debugging Basics
Type of Errors :
Syntax error : Invalid code format
For example: Print("Hello" missing)
Runtime Error :Error while program runs
For example: 10/0 -->ZeroDivisionError
Logical Error: No crash, but wrong output
For example: Using + instead of *
Example Debugging:
a = int(input("Enter the first number: "))
b = int(input("Enter the second number: "))
def add(a, b):
return a / b
print(add(a, b))
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python method.py
File "C:\Users\Administrator\Desktop\CCIT\PythonCourse\method.py", line 4, in add
return a / b
~~^~~
ZeroDivisionError: division by zero
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse>
Fixed Version:
Try catch block
try:
a = int(input("Enter the first number: "))
b = int(input("Enter the second number: "))
def add(a, b):
return a / b
print(add(a, b))
except ZeroDivisionError:
print("Error: Division by zero is not allowed.")
PS C:\Users\Administrator\Desktop\CCIT\PythonCourse> python method.py
Enter the first number: 20
Enter the second number: 0
Error: Division by zero is not allowed.
- Python Style Guide (PEP 8) Overview
What is PEP 8?
PEP 8 stands for Python Enhancement Proposal #8
It is the official style guide for writing Python code.
In simple words:
PEP 8 is like a rulebook that helps you write python code that looks clean, consistent, and professional
1.Indentation ,2 Maximum line length,3.Blank Lines (separate section of the code),
4. Space around operators and commas (Always one space = ,+..etc)
5. Naming Conversation
Type
Variable/Functions :lowercase_with_underscores
For example: student_name, get_data()
Constants: ALL_CAPS
For example: P1=3.14,MAX_SPEED = 100
Classes :PascalCase
For example: class StudentDetails:
Private variables: Start with_
For example: _temp_value
Modules: Short,lowercase names
For example: math_utils.py
6. Function and class Definitions
Leave two blank lines before defining a new function or class
7.Comments
Navigating Python's Interactive shell
What is the Python Interactive shell?
The Python interactive shell (also known as the REPL) is a command line environment that lets you type and execute python commands one at a time -- and see the result immediately.
"REPL" Stands for
Read-->Eval-->print-->Loop
It read your command evaluates it, print the result and loops back for the next command
It's like a python playground -where you can test small code snippets instantly without writing or saving a .py file
--Thanks