On 31/03/2023 13:00, Jim Schwartz wrote: > I want a windows installer to install my application that's written in > python, but I don't want the end user to have access to my source code.
Others have commented that at some level it will always be thre but on a more pragmatic level tools like py2exe bundle up a Python app as an exe file which might be all you need? I'm sure if a user dug deep enough they could still find the source (or something close) but to deter casual browsing it might be what you want. Caveat: I've never used py2exe in anger and my experiements were before Python3 so ive no idea what it does today! But a quick check suggests it still exists and works with python3 code - last major release was in Nov 2022. -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos -- https://mail.python.org/mailman/listinfo/python-list