Python Forum
CGI for Basic Python Webserver
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CGI for Basic Python Webserver
#1
Hello guys;

I have a simple python webserver but I want to use the CGI script for file download and upload according to client-request .But I couldnt find the any way of adjusting the CGI except using apache2 ,nginx or etc... and I dont wanna use Apache2,nginx or etc..  Is there any way to adjust cgi script to my python webserver with Bash script or with other way ? Can you give me any advice about it ?
Thanks...
Reply
#2
It's built-in: https://docs.python.org/3/library/http.s...estHandler
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
You can use the builtin GUI package, tkinter,
if you plan on a more elaborate GUI it can be done in tkinter (see https://python-forum.io/Thread-Show-Inst...age-detail)
but you may find pyQt4 easier to get good results with.
There's also wxpython, and PyGTK.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  webserver and pythonscript in 1 .py file ? Bicarbonaat 0 1,532 Dec-13-2021, 07:12 PM
Last Post: Bicarbonaat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020