problem with gadfly and py2exe

Max nospam at nospam.nospam
Wed May 22 09:28:32 EDT 2002


"Max" <nospam at nospam.nospam> ha scritto nel messaggio
news:9eJF8.69521$zW3.1064537 at news1.tin.it...
[...]

Is that approach correct?

After reading some answers i wrote this simple script to know what (new)
modules gadfly loads.

import sys
prima = sys.modules.keys()
import gadfly
dopo = sys.modules.keys()
print "gadfly imported modules:"
for x in dopo:
    if prima.count(x) == 0:
        print x

where prima and dopo are lists, that can be translated with before and
after...
I forced (in py2exe) the import of all the modules i found after importing
gadfly, but the result was still negative, since the exe application still
doesn't runs, and stops just where i try to initialize gadfly (i know that
because i disseminated the source of msg boxes... and i read the last one
that appears... :) )

Honestly, i don't know how to go on for building that exe... :(

Tia,
Massimo





More information about the Python-list mailing list