Python Forum
Run python app on IIS web server
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run python app on IIS web server
#1
Hi Experts ,

first of all ,I'm new to python environment and created a python app having GUI (tkinter) in it , but i'm not sure how can I deploy it on IIS .. I just gone through several articles , as i understand normal python coding will not working on web , it has to be with HTML tags .. Pls i would appreciate if you can guide me what exactly i should do ..

rgds
Ajith
Reply
#2
(Aug-14-2023, 08:22 AM)adevendr Wrote: but i'm not sure how can I deploy it on IIS
Quote:IIS or Internet Information Server is the server used to host .Net web applications. IIS hosting is normally installed on a Window Server.
So is not a good platform to host Python code as is mostly used for .Net,if search can see some Flask app been used.
Deploy a Python Flask Application in IIS Server
But is not good at all as has to use CGI,which is dead in Python,no all web-stuff in use WSGI.

If you have choice should not use IIS at all,there are better host like eg Render, DigitalOcean or PythonAnywhere.
These have much better Python support,and with IIS still need to use CGI which is dead in Python.
Here we talk about a web-app,so have to rewrite GUI (tkinter) to a web-app with eg using Flask.

For a GUI if need distribute it is better to not use Server,as eg use PyPi with a GitHub Repo.
So a example of this Auto PY to EXE is Gui that you can use to eg make .exe of your GUI (tkinter).
So then also have .exe that can share,for someone that not have install Python.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to take the tar backup files form remote server to local server sivareddy 0 1,917 Jul-14-2021, 01:32 PM
Last Post: sivareddy

Forum Jump:

User Panel Messages

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