A lot of new programmers feel insecure about googling things after a while, because all these folks who show different tutorials tend to not show just how common it is to need to reference documentation or their source code they are using for the tutorial. It happens a lot however, so there is no shame in needing to check reference information.
Hi, I think the problem at 14:04 is “,” before “utf-8” which you accidentally removed while typing. I am still not sure that if it would work with comma or not but it might be the problem.
What is the native python way to host a web server with REST APIs? How do you do it without frameworks? Is there no way to do it without frameworks that implement WSGI?
I'd like to create a test www using html+python but... not on my local computer only directly on the server in order to be visible for any1 via internet. Have you got any tutorial how to do that?
@@fehgabriel67 no I haven't yet either, I have been testing things with aws EC2 instance, and trying to configure my web server's get and post reponses on there but I am running into problems, idk what your usecase is for but try looking into "IIS Web Server" maybe that'll help
it starts with 192.168. wich mean that its an local ip you bafoon, wich cannot be used to track his location nor anything else you bafoon@@DominicNweze
Great info. I love how you actually googled after you got stuck and didn't cut that part out. Google search is an important skill for any programmer.
A lot of new programmers feel insecure about googling things after a while, because all these folks who show different tutorials tend to not show just how common it is to need to reference documentation or their source code they are using for the tutorial. It happens a lot however, so there is no shame in needing to check reference information.
It doesn't matter if you know how to do everything from memory. It only matters if you know how to get the answers and implement them properly.
Btw {{ is the proper way to escape { in f-strings
yup
Thank you so much! Very simply put, great job!
That intro deserves a sub
Hi, I think the problem at 14:04 is “,” before “utf-8” which you accidentally removed while typing.
I am still not sure that if it would work with comma or not but it might be the problem.
You are correct, he deleted the comma by mistake in 13:46. He still needed the backslashes \{ and \} for it to work in addition to the missing coma.
The other problem is that
f'\{"time": "{date}"\}'
Should look like this
f'\{"time": f"{date}"\}'
@@LZulbwhat the heck is this
@@CR33D404 probably some code
@@LZulbwtf
Very useful video, thanks!
This is great, no more usb 😂
Very useful!
bro your videos are always helpful to me
This was fun. Thanks!
But how did you stop the server at 1:28 please tell me 😟😟 ??
Ctrl c
Lol i had the same issue.
@@TheKing-hf8is Thank you so much, bless you
HEY I JUST DISCOVERED YOUR CHANNEL TODAY, THANKS!
What is the native python way to host a web server with REST APIs? How do you do it without frameworks? Is there no way to do it without frameworks that implement WSGI?
import python websocket library, reimplement all of http tls ssl and https yourslef i guess
Can you do a video on how to make a customisable theme for http directory listing, the default one looks really old.
That’s what I’m looking for, I’m too lazy to make a flask app for that
Please provide full video of your Beginning example
Is this server secure? I was going to use this as a server but, the internet said it’s not secure. Is it secure? Need to know.
how do you retrive data from request? like URL path, POST data, get params?
Does the basehttpServer doesn’t provide a way for the handler to get the query parameters?
Can upload and download at the same time? Is there a way to do both?
Thanks alot I love your videos! They are always very helpful! Thanks
I'd like to create a test www using html+python but... not on my local computer only directly on the server in order to be visible for any1 via internet.
Have you got any tutorial how to do that?
Do you know how give timeout for that http server using python?
What is "-m" for ?
-m flag is when you want to use a Python module as a script.
It means that I can start localhost at any port ?
Any open port
@@colton3507
Ohh
and what about closed ports ?
@@codewithsmoil4098 it just won't work on those ports. Idk the exact error it will give. But try it out!
@@colton3507
Okay thanks for info.
Trust me , one day I'm gonna speedrun all your python videos 😤
Did you accomplish your mission sir?
does anyone know how to add styling to the uhh directory listing ?
Great video, thanks!
Outstanding.
basic but gold. thank you!
I am getting data in python in excel sheet I want to push data to other programs / software through DDE please can you make video
how Do I made other ppl to connect to my ip adress
How do I stop the server?
thank you so much 🎉
Bro How can I have your Desktop wallpaper?
Why not just rsync or scp?
are you from Romania? sorry, im just curious !
thanks for the video
thanks! very good one
Thanks for the knowledge...
best techer
can u access the http server using a ipad or a phone or any other device instead of a computer?
Yep but u must be connected to the same connection
is it private server or public server
Name of song please
amazing...
i cant even get through the first step..in terminal when i write python -m http.server it shows invalid syntax!!!
Try python3 -m http.server I think the syntax was different in python 2
did u get through the 1st step ? i also need some help, would appreciate it
Gracias por la informacion!
Thank you!!!
How do you make computers on different networks connect 😭
so, you need to forward the port on wich the server is running, and then access it by public ip
Hello can you provide code to make excel as dde server
One more important information!
WinError 10049- The requested address is not valid in its context
what is the fucking comand for switch to deskop
-
I learned something
how to host as Public IP?
Did you figure this out already?
@@theonplore7373 no, can you tell me?
@@fehgabriel67 no I haven't yet either, I have been testing things with aws EC2 instance, and trying to configure my web server's get and post reponses on there but I am running into problems, idk what your usecase is for but try looking into "IIS Web Server" maybe that'll help
ngrok
@@MrChoclateChip isn't this for hacking people cameras.
What do you want with that 🤔
The ide should have warned u that u forgot to add a comma there
nice
❤
This dont work
thhhhhx
3
Here first
Second
your intro destroyed my ears
You showed your IP lol…
hope guys who are watching this are just incapable of doing anything with that. lol
@@SuperMan-nl6hi apart from tracking where he is.
Nothing special..
it starts with 192.168. wich mean that its an local ip you bafoon, wich cannot be used to track his location nor anything else you bafoon@@DominicNweze
Error code explanation: 501 - Server does not support this operation. Please Helpe @NeuralNine