Yes, sorry. It is double underscored.

On Mon, Aug 8, 2011 at 7:43 AM, King Simon-NFHD78 <simon.king@motorolasolutions.com> wrote:
> -----Original Message-----
> From: Adam Estes [mailto:iargue@neocodex.us]
> Sent: 08 August 2011 12:23
> To: King Simon-NFHD78
> Cc: mhammond@skippinet.com.au; py2exe-users@lists.sourceforge.net
> Subject: Re: [Py2exe-users] Python and independent modules
>
> This is the contents of sys,path  from the .exe
>
> ['C:\\Program Files\\Neocodex\\Manager\\pre_loader.exe', 'C:\\Program
> Files\\Neocodex\\Manager', 'C:\\Program Files\\Neocodex\\Manager/Lib']
>
>
> (I removed the importing of every single directory inside Lib to
> reduce the spam)
>
> It shows the proper Lib Directory, as it should.
>
> The specific error is:
>
> Traceback (most recent call last):
>   File "pre_loader.py", line 66, in <module>
>   File "__init__.pyo", line 8, in <module>
>   File "ProgramManager.pyo", line 35, in <module>
>   File "rpdb2.pyo", line 13487, in rpdb2_import_wrapper
>   File "PluginManager.pyo", line 9, in <module>
>   File "rpdb2.pyo", line 13487, in rpdb2_import_wrapper
> ImportError: No module named GeneralFunctions
>
> Which is this line
>
> from GeneralFunctions import *
>
> And GeneralFunctions is a folder inside of the Lib folder containing
>
> _init_.pyc
> filemanagement.py
> staticimages.py
>

Is that "_init_.pyc" a typo? It needs to have double-underscores to be
considered a package (__init__.pyc)

Simon