A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/320391.html below:

Module import via sys.path and py2exe

Module import via sys.path and py2exe Module import via sys.path and py2exeflupke flupke at nonexistingdomain.com
Mon Sep 26 09:06:02 EDT 2005
flupke wrote:
<snip>

> I forgot to add that if i check the shared.lib py2exe creates, the 
> program1 dir and subdirs/files are there so they are included in the 
> package.
> 
> Benedict

Hi,

i solved it by adding the same import statement to the py2exe setup.py 
script as in my code:

import sys
sys.path.append('program1')

I'm still not sure though that the way i'm adding the module in the 
first place is correct but it seems to work okay.

Regards,
Benedict

More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4