Python Forum
delivery exe without source code py
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
delivery exe without source code py
#1
Hi everyone, I'm new to Python but I program using visual studio c#.

How do I deliver to my customer an exe of a python/streamlit script with everything necessary without source code ?

Following an internet guide I created a wrapper and, using pyinstaller, I created the exe.

Everything works but I am forced to deliver not only the wrapper exe but also the .py source file of the script.

How can I avoid handing over the .py source to the client?

How do you do it?

Are there other solutions?

Thank you.
Reply
#2
This post on stackoverflow shows methods for all major OS.
Reply
#3
Hi Larz60+, thanks for the reply.

I am able to create my exe from the Python wrapper but I am forced also to deliver the source .py which uses streamlit.

It's a known problem and I think not solved in the post which is very old and I hope there is a new solution.

Other suggestions?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Algorithm for extracting comments from Python source code Pavel1982 6 542 Feb-28-2024, 09:52 PM
Last Post: Pavel1982
  Error on import: SyntaxError: source code string cannot contain null bytes kirkwilliams2049 7 6,873 Aug-03-2023, 06:00 PM
Last Post: Gribouillis
  No Module found in other directory than source code [SOLVED] AlphaInc 1 2,073 Nov-10-2021, 04:34 PM
Last Post: AlphaInc
  Generating classes diagram from source code Pavel_47 3 5,679 Oct-01-2021, 03:31 AM
Last Post: Lou
  How do I open the Source code of a library? JaneTan 1 2,285 Aug-18-2021, 02:12 AM
Last Post: Larz60+
  Compiling Python 3.8.5 source code results in build error Deepan 0 2,194 Sep-14-2020, 04:11 AM
Last Post: Deepan
  If Python 2.x source code and applies a transform it into valid Python 3.x code. vivekm 1 2,176 May-20-2019, 05:12 PM
Last Post: Larz60+
  Run a source code from Github Chigoz 2 4,403 Mar-16-2019, 06:25 PM
Last Post: Chigoz
  Uncanny line of code in Torchat source file pkm 2 2,699 Jan-05-2019, 04:01 PM
Last Post: pkm
  string conversion like in source code Skaperen 4 3,893 Nov-26-2017, 03:29 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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