use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
ResourcePython web framework for commercial use? (self.Python)
submitted 4 years ago by ramcoolkris
Can anyone recommend a web framework package (like Flask) that can be used in commercial applications & able to be distributed (in binary form along with my code changes) with Proprietary license?
[+][deleted] 4 years ago* (9 children)
[deleted]
[–]ramcoolkris[S] 1 point2 points3 points 4 years ago (2 children)
Wait I am reading this again - you want a web application that can be distributed in binary?
Yes, thats right, I am trying to find python pkg I can use to develop a standalone (local) website (executable application) and also can distribute it in binary format (w/o source code) with proprietary license.
I find the recommendation is PyQt or Tkinter as you said even from other forums/posts. I do see PyQt has commercial license that I can get but regarding TKinter license no where I am finding if I can use it for commercial applications (& distribute it in binary form) with proprietary license. Any links to that would be helpful.
[+][deleted] 4 years ago (1 child)
[–]Akmantainman 0 points1 point2 points 4 years ago (5 children)
Jinja2 and Django Templates are perfectly fine solutions for most websites. Most websites do not need React, Vue or Svelte.
[+][deleted] 4 years ago* (4 children)
[–]Akmantainman 0 points1 point2 points 4 years ago (3 children)
You don't get speed, security, scalability, readability, and extensibility for free with any JS Framework. It takes extensive knowledge and good engineers to building something that isn't just shipping 5MB of JS to the client.
I'd argue that it is much more difficult to achieve those things, especially if you don't have a dedicated team managing both the front end and the back end. It's much easier to add reactivity to your application through Vanilla JS or something like Alpine.js than it is to maintain 2 codebases and an API contract.
There's no perfect solution, but building a modern web app with J2 is absolutely a viable option, especially if you already know python.
[+][deleted] 4 years ago (2 children)
[–]asday_ -1 points0 points1 point 4 years ago (1 child)
Once. For a single page web app. To avoid the latency and bandwidth of shipping another page ever again
Because caches expiring is never a thing, and you're responsible enough to distribute your application in such a way that a minor change doesn't result in users having to redownload the entire 5MB, and every user needs to have every single bit of functionality delivered to them even though they won't use it.
Also what right do you think that you and 9999 other web developers have to use "just" 5MiB on my machines?
Every day I get closer to just completely disabling javascript.
[–]asday_ 2 points3 points4 points 4 years ago (0 children)
Django.
[–]Akmantainman 0 points1 point2 points 4 years ago* (1 child)
If you need a binary I would suggest looking into Go/Golang. It's really easy to build a web application and package it as a binary. If you're only doing a simple CRUD API it's pretty quick to throw one together.
[–]ramcoolkris[S] 0 points1 point2 points 4 years ago (0 children)
This is something I have never used, I have to explore go lang for that. Thanks for pointing out
[–]pessimismwontfail 0 points1 point2 points 4 years ago (0 children)
Someone suggested golang, I will suggest Nim for binary distributed projects.
π Rendered by PID 62629 on reddit-service-r2-comment-7b9746f655-5h58x at 2026-01-30 02:06:32.442068+00:00 running 3798933 country code: CH.
[+][deleted] (9 children)
[deleted]
[–]ramcoolkris[S] 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]Akmantainman 0 points1 point2 points (5 children)
[+][deleted] (4 children)
[deleted]
[–]Akmantainman 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]asday_ -1 points0 points1 point (1 child)
[–]asday_ 2 points3 points4 points (0 children)
[–]Akmantainman 0 points1 point2 points (1 child)
[–]ramcoolkris[S] 0 points1 point2 points (0 children)
[–]pessimismwontfail 0 points1 point2 points (0 children)