On Thu, Jul 27, 2023 at 07:28:25AM +0000, Andrew M.A. Cater wrote:
> You are trying to create a stand alone Python script on Debian that 
> you can give to someone running Windows.
> 
> Python is an interpreted language - so that person will need a version
> of Python on their machine to run your script. Python versions exist
> for Windows but it will need to be installed there.

Rather than saying "this is not possible", I'll simply say "I don't
know whether this is possible".

Tcl has a concept called a "starkit", where StAR is an acronym for
"Stand-Alone Runtime".  It's a toolset for producing single-file
Tcl applications that contain a Tcl interpreter, a Tcl script, and
any necessary packages, all bundled together into a single file for
distribution.  Kinda like a flatpak, but much older and more specialized.

I don't know whether Python has anything analogous.

You know who *would* know, though?  Python developers.  On a Python
mailing list.

Insisting on obtaining this knowledge exclusively through *Debian*
resources is a mental impediment that's closing off any paths to a
solution.

Reply via email to