Wednesday, June 2, 2021

Re: How to create .exe file of django project ?

On 02/06/2021 14.06, Tejas Tendulkar wrote:
> Is there any other way to convert into desktop application ?
>

I would say the short answer is "no". At least not in the way you have
tried so far.

You would probably be able to somehow make the development server run
your code as an executable with something like pyinstaller and then open
the default webbrowser and point it to your locally running web server,
but it doesn't sound like that's what you're after.

Someone else mentioned something about some javascript frameworks
designed for targeting both websites as well as mobile applications and
something like that might work.

I would probably do something like creating a REST API instead (using,
eg. Django Rest Framework) and then create a GUI frontend using
something like PyQT, but of course that very much depends on what your
application is doing.

Kind regards,

Kasper Laudrup

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a971ac09-2396-a926-de1e-5849e765b6e7%40stacktrace.dk.

No comments:

Post a Comment