Simple Python Web Server

preview_player
Показать описание
In this video we'll be creating a really simple web server in Python using the Python http library.

Don't forget to subscribe for more!
Рекомендации по теме
Комментарии
Автор

This is not only a great beginner project, but also a very lightweight server for any needs

tsaligm
Автор

Thanks for making this video. You explained something that didn't really understand but now I understand it. Thanks again for making this video hope to more videos on servers

necodaley
Автор

thank you so freaking much. I am a beginner at python and I was having trouble finding out how to do this.

prestonwallitsch
Автор

Thanks 4 the code! It's a late thanks, but with good vibes (y)

matiasarenas
Автор

i like this tutorial, direct to the point

iwdeouu
Автор

Thanks for the tutorial! It has helped me a lot :D

eloyperezrodriguez
Автор

Thanks THE BEST VIDEO I"VE SEEN!!!

georgeseletski
Автор

sorry if the questing is dumb but how can we publish it on the net or show this to our friends?

manosped
Автор

Never sending content header but closing it, seems legit

Ftoy-OG
Автор

nice ! maybe next step is to handle a POST request ?

dasdunetechnologies
Автор

looks like i can very easily execute any file in the root directory only if I know their names

scamcaller
Автор

Question: Is the python script executed? Constantly running?

julianosvonskingrad
Автор

so if i port forward the ip and the port that is assigned, i should be able to access it through the internet?

krinx
Автор

great video, its nice that you showed how to code your own server although all that was not necessary. go to command line type python -m http.server 8000 and you are job though

evolvedanimeisland
Автор

Why do you put the [1:] when opening and reading the file?

StephenPoole-ofqc
Автор

Thank you for the tutorial! It's very simple to make, but my question is, Is there a way to change the server name? (for example, Apache, nginx, and cloudflare uses a server called cloudflare-nginx)

GerardoWacker
Автор

so this is mean i won't need to install Apache2 or kickweb server ... ?

hamzadaoud
Автор

now how can i unpoad a file to this webserber ?

homieluca
Автор

Wow, that is pure amazing. How hard would it be to add CGI capabilities to this? I want to create a local web server to my machine that will serve portions of the filesystem, like home dir, or media directories and has controls to do manipulations on files if the user has the right permissions. Can this serve things like video, audio, images, etc? I am so glad I found this - all the other similiar things always want people to use these frameworks like FLASK or whatnot and the point for me is to learn and use Python.

justgivemethetruth
Автор

can you tell me how to add ccs to that ?

Maexwellus