This document discusses web programming using Python and JavaScript. It covers HTTP and status codes like 200 for OK and 404 for Not Found. It introduces Django, a Python web framework, and how to install and start a Django project using commands like pip3 install Django and django-admin startproject. It also mentions running the local web server with python manage.py runserver and generating app files with python manage.py startapp.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views
Lecture3 PDF
This document discusses web programming using Python and JavaScript. It covers HTTP and status codes like 200 for OK and 404 for Not Found. It introduces Django, a Python web framework, and how to install and start a Django project using commands like pip3 install Django and django-admin startproject. It also mentions running the local web server with python manage.py runserver and generating app files with python manage.py startapp.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17
Web Programming
with Python and JavaScript
Django Web Applications HTTP GET / HTTP/1.1 Host: www.example.com ... HTTP/1.1 200 OK Content-Type: text/html ... HTTP Status Codes Status Code Description
• PROJECT_NAME/settings.py: settings and configuration • PROJECT_NAME/rls.py: URLs that can be visited python manage.py runserver python manage.py startapp APP_NAME Django Web Programming with Python and JavaScript