Course name: Advance Python programming
COURSE SYLLABUS: Fall 2023
INSTRUCTOR INFORMATION
Instructor: Eng Mohamed Ahmed
Mohamed
Title: BSc in ICT and MSc in CSE
Location: Hargeisa Somaliland
Telephone: +252 63-4296600
Personal email:
[email protected]Preferred Form of Communication: Email
Communication Response Time: Within 24 hours on weekdays. If emails are
sent on Friday, the replies will be available by the next day.
Course requirements
Requirements
1) Python setup file 3.6 or newer
2) Text Editor (IDLE/ or any other)
3) Web browser
Textbook(s)
In most cases, the instructor slides are sufficient for
understanding the material. The following textbooks are very
useful as references or tutorials for Python.
Burkhard A. Meier - Python GUI Programming Cookbook-
Packt Publishing (2015)
Alan D. Moore - Python GUI programming with Tkinter-
Packt Publishing (2018).
(Undergraduate Topics In Computer Science) John Hunt -
Advanced Guide To Python 3 Programming-Springer
(2019).pdf
Matthew Wilkes - Advanced Python Development_ Using
Powerful Language Features in Real-World Applications-
Apress (2020)
Assessments and grading system
Assingments 15 marks
Midterm 25 marks
Final exam 50 marks
Attendance 10 marks
Course Outline Overview
Chapter One: - Introduction
What Is a Django Web Framework and Django’s History
Django installations.
Starting django project
Django commands overview
Django development server
Chapter Two: Django basics of dynamic web pages
Creating applications in your django project
Your First View: Dynamic Content
Mapping URLs to Views
How Django Processes a Request
URL configurations and Loose Coupling
404 Errors
The MTV Development Pattern
Chapter Three: - Django Template System
Template System Basics
Creating Template Objects
Rendering a Template
Basic Template Tags and Filters Tags
Using template in views
render_to_response()
The locals() Trick
Subdirectories in get_template()
Chapter Four: - Django admin interfaces
Activating django admin interfaces
Defining Models in Python
Adding Model String Representations
Inserting, models
Removing Many to Many Fields
Chapter Five: - Django form processings .
Search
Creating a Feedback Form
Processing the Submission
Custom Validation Rules
Creating Forms from Models
Chapter Six: State Management
Django session management built in app
Concept of session management
Uses of Sessions and cookies
Destroying a session using ‘flush’
HAVE A HAPPY AND SUCCESSFUL SEMESTER
By lecturer: Eng Mohamed Ahmed Mohamed