Click here to Skip to main content
15,880,796 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello guys,
I had a web server homework of networks course,its job is to prepare a web server using python and run a HTML file on this server. The skeleton code of it was also included for us, and I completed the missing parts of the code, however, only two lines of this code could be printed. How can I learn the port number, part should I change if there is any, and how can I run a HTML file from the code that I completed?

Thanks,

What I have tried:

Modifying the code, asking course assistants,searching on the web
Posted
Comments
Richard Deeming 16-Mar-22 13:46pm    
There's a secret error somewhere in your secret code. You need to fix that.

Seriously, how do you expect anyone to be able to help you fix an issue you can't describe in code we can't see running on a system we can't access?

Click the green "Improve question" link and update your question to include a clear and complete description of the problem, including the relevant parts of your code, and the full details of any errors. Remember to indicate which line of code the errors relate to.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900