Skip to main content
PTCL IT Training Center, Peshawar Beginner to Intermediate Level On-site Lab (Peshawar)

Python & AI-Powered Web Application Development

Build intelligent web applications, automated web scrapers, and AI customer support chatbots with Python, FastAPI, OpenAI/Gemini APIs, and WhatsApp Cloud automation.

Python & AI-Powered Web Application Development
Duration 8 Weeks
Skill Level Beginner to Intermediate
Delivery Mode On-site Lab (Peshawar)
Curriculum 4 Modules

Course Overview

Artificial Intelligence and automation are reshaping software engineering. This 8-week bootcamp at the PTCL IT Training Center, Board Bazar, Peshawar, provides a practical, industry-grounded pathway into Python and applied AI development.

Students will not just learn Python syntax; you will build automated data extraction pipelines, intelligent document processors, and WhatsApp customer support agents powered by large language models (LLMs) that solve real business bottlenecks for Pakistani enterprises.

Curriculum & Detailed Syllabus

Structured modules covering tools, architectures, and real-world implementation.

4 Modules
01

Module 1: Python Core Programming & Data Engineering

2 Weeks
Core Topics & Concepts:
  • Python syntax, data structures (Lists, Dicts, Sets, Tuples), list comprehensions, and generators
  • Object-Oriented Python: Classes, methods, inheritance, and magic dunder methods
  • Working with files, CSV, JSON data pipelines, and environment configuration (.env)
  • Package management with pip and virtual environments (venv)
Hands-on Lab Milestone Project: Automated financial audit script analyzing daily sales sheets from local Pakistani retail POS exports.
02

Module 2: Web Scraping, Data Extraction & Automation

2 Weeks
Core Topics & Concepts:
  • HTTP requests, headers, sessions, and cookies with httpx and requests libraries
  • HTML parsing with BeautifulSoup4 and XPath selectors
  • Handling JavaScript-rendered dynamic web pages using Playwright and Selenium
  • Task scheduling, rate limiting, proxy handling, and avoiding IP bans
Hands-on Lab Milestone Project: Automated Khyber Pakhtunkhwa Government e-Procurement & Tender monitor that scrapes public tenders and alerts via email/Telegram.
03

Module 3: Fast Web APIs with FastAPI & Pydantic

2 Weeks
Core Topics & Concepts:
  • Modern asynchronous Python (async/await) and ASGI server architecture
  • FastAPI routing, path/query parameters, request bodies, and dependency injection
  • Data validation, serialization, and type enforcement with Pydantic v2
  • Connecting to SQLite and PostgreSQL databases with SQLAlchemy 2.0 ORM
  • Auto-generated interactive Swagger and OpenAPI documentation
Hands-on Lab Milestone Project: High-performance REST API for a localized Peshawar medical inventory and clinic management service.
04

Module 4: Applied AI Integration, LLMs & WhatsApp Automation

2 Weeks
Core Topics & Concepts:
  • Integrating OpenAI (GPT-4o) and Google Gemini APIs: Prompt engineering, function calling, and structured JSON outputs
  • Building custom Retrieval-Augmented Generation (RAG) on local company knowledge bases with LangChain and LlamaIndex
  • WhatsApp Cloud API integration: Webhooks, receiving customer messages, and streaming AI replies in Urdu and English
  • Deploying Python services to cloud VPS / Docker containers with systemd and SSL
  • Freelance and remote career pathways in AI integration and automation on Upwork
Hands-on Lab Milestone Project: Production-ready WhatsApp AI customer support bot for a Peshawar business that answers FAQs in Urdu/English and logs appointments.

Prerequisites & Preparation

To get the maximum value from this course, students should satisfy the following criteria:

  • Basic logical thinking and general computer literacy
  • Prior exposure to any programming language is helpful but not strictly required
  • A laptop running Windows, macOS, or Linux

Lab & Learning Environment

PTCL IT Training Center, Peshawar

Classes and practical hands-on labs are held at the PTCL IT Training Center, Board Bazar, Peshawar. The center provides high-speed enterprise fiber connectivity, dedicated lab seating, multimedia projectors, and backup power to ensure uninterrupted learning sessions.

High-Speed Fiber Uninterrupted package and asset downloads.
Power Backup Dedicated generation and UPS systems.
Direct Code Reviews Mentors review every assignment repository.