Python Dynamic HTML Web Server

4.6
99 个评分
提供方
Coursera Project Network
5,026 人已注册
在此指导项目中,您将:

Prepare the Web Server Using the SimpleHTTPRequestHandler class

Add CGI using the CGIHTTPRequestHandler class to allow Python Pages

Define Routes to the Pages in the Web Server

Clock1 hour
Beginner初级
Cloud无需下载
Video分屏视频
Comment Dots英语(English)
Laptop仅限桌面

Web application servers are abundant these days. Each have one thing in common, they ultimately process requests and return web pages. Apache serves PHP pages along with static HTML. Microsoft’s .NET creates dynamic web pages that may be authored using C# or VB and served using IIS. Java Enterprise Edition has many options, WebSphere, WebLogic, and Apache TomEE to name a few server platforms. Python has its own web server that can be built in one line of code, but it is relatively simple to create the server code yourself. This is useful if you want to understand how web servers work and can be used to quickly test your own web pages. In addition, some browsers will not load local files due to security; using a simple web server solves this issue as well. In this course, you will create a Python application in which you will create a simple HTTP server, create a static web page, create dynamic pages using python, and access the pages from the server using the command line as well as from a browser. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

您要培养的技能

Dynamic Web ApplicationPython ProgrammingServer ProgrammingPython Web ApplicationWeb Server

分步进行学习

在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:

  1. Use the SimpleHTTPRequestHandler to allow the Server to Handle Requests.

  2. Create a Home Page for the Web Application

  3. Add CGI to allow Dynamic Web Pages.

  4. Create a Python Script to create a Time-Stamped List of Random Numbers.

  5. Define Routes to the Pages in the Web Server.

指导项目工作原理

您的工作空间就是浏览器中的云桌面,无需下载

在分屏视频中,您的授课教师会为您提供分步指导

审阅

来自PYTHON DYNAMIC HTML WEB SERVER的热门评论

查看所有评论

常见问题

常见问题

还有其他问题吗?请访问 学生帮助中心