How To Upload File On Web Server WIth Python cgi Using Web Html Form Without Any Web Framework

preview_player
Показать описание
#TALK_IS_CHEAP___SHOW_ME_THE_CODE

How To Upload File On Web Server WIth Python cgi Using Web Html Form Without Any Web Framework

This script works perfectly on linux machines. If your server is on a windows machine then you might need to add these lines of code before reading the form

try: # Windows needs stdio set for binary mode.
import msvcrt
except ImportError:
pass

Рекомендации по теме
Комментарии
Автор

Nice, didnt knew that Retnik Beat. Pretty fire

Iymnade
Автор

I am a fresh, want to know how to run this on windows and ubuntu

aashaybane
Автор

Please share the Code please.. for this time!!!! Thanks

javiermanjarresbaldovino
Автор

That's cool .Thank you ! 
How can I send a cgi output values to another form in another webpage?

amalaljohani
Автор

CGI is old, guess it's okay for low volume situations, cant imagine this being used in a high traffic situation no?!?

ProgrammingNewbie
join shbcf.ru