Using the Windows "embedded" distribution of Python

Paul Moore p.f.moore at gmail.com
Thu Sep 29 06:41:19 EDT 2016


On Thursday, 29 September 2016 10:39:10 UTC+1, eryk sun  wrote:
> On Thu, Sep 29, 2016 at 8:35 AM, Paul  Moore <p.f.moore at gmail.com> wrote:
> > PS It's a shame there's no way to put the embedded distribution in a subdirectory
> > *without* needing to use dynamic loading, but I guess that's basically an OS limitation.
> 
> There are ways to do this. The simplest way is to use a subdirectory
> with same name as the executable plus ".local". For example, for
> "app.exe" create a directory named "app.exe.local".

Oh, wow. Now you mention it, I recall that convention (from somewhere). I'll investigate that option (although it may not suit my use case, as I want multiple exes in the one "main" directory sharing a single "local" Python runtime).

Many thanks,
Paul



More information about the Python-list mailing list