embed a package for proper fun script

Paul Moore p.f.moore at gmail.com
Tue May 30 05:26:40 EDT 2017


On Tuesday, 30 May 2017 08:48:34 UTC+1, Mahmood Naderan  wrote:
> No idea?...
> 
>  
> Regards,
> Mahmood
> 
> 
> On Tuesday, May 30, 2017 1:06 AM, Mahmood Naderan via Python-list <python-list at python.org> wrote:
> 
> 
> 
> Hello,
> 
> How it is possible to embed a package in my project? I mean, in my python script I have written
> 
> 
> import openpyxl
> 
> 
> So, the user may not have installed that package and doesn't understand what is pip!
> 
> Please let me know the instructions or any document regarding that.

You might want to look at the zipapp module in the stdlib.
Paul



More information about the Python-list mailing list