Re: vpython and py2exe

Daπid <[email protected]>
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAJhcF=3=oBwALS5hcPrsTHZ+SUSLoj6PX6KdZ-XKhJ1YJ6KBoQ@mail.gmail.com>
The problem arises when you are importing the materials, which are not
always needed. A simple but not complete workaround is to enclose the
import visual statement in a try except:

try: import visual
except IOError: pass

That will do, if you are not using materials.


2011/9/5 家在仁和 <[email protected]>:
> Hi, guys!
>     I'm a newbie with viusal. I've got the same problem about viusal and
> py2exe which has been described by
> this link:
> http://vpython.wikidot.com/forum/t-224090/vpython5-and-py2exe
> Simply speaking, the exe program which made by py2exe cannot find *.tga
> files.
> The upside link gives a solution, but not so good. Is there any more better
> solution?
> Thank you!
>                                                      Teddy Qian
> ------------------------------------------------------------------------------
> Special Offer -- Download ArcSight Logger for FREE!
> Finally, a world-class log management solution at an even better
> price-free! And you'll get a free "Love Thy Logs" t-shirt when you
> download Logger. Secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsisghtdev2dev
> _______________________________________________
> Visualpython-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/visualpython-users
>
>

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Visualpython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/visualpython-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.