ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxpython-users
wxpython-users
[wxpython-users] Py works, EXE doesn't here is stripped program, someone else verify please.
by Steve Freedenburg other posts by this author
Jul 18 2008 10:51AM messages near this date
[wxpython-users] Re: Is this the correct way to use threads (was Babel Fish translation) ? | Re: [wxpython-users] Py works, EXE doesn't here is stripped program, someone else verify please.
I don't have a web site to hold the program, but here is what I did do.

I stripped the splash screen, all the bmp files, icons, and everything else 
that is "fluff."
So the file is just a python with no dependancies other than needing Python 
and wxPython
and whatever other modules and libraries are shipped with Python and 
wxPython.

The version information for Python, IDLE, and wxPython that I used to make 
it are:
Python 2.5.1
IDLE 1.2.1
wxPython 2.8.7.1

I will attach the py file, the configuration file that TopiView makes when 
the user
sets it up, so you can see that too,  the "help" file which is as close to a 
__doc__
as could be, and a short wav file that will play when TopiView matches a
search string.  Small files really, maybe 85kb.

IF those three files don't exist and you run the program as is, you'll have 
to make
one by setting TopiView up. (That's the name of my program if you hadn't 
figured
it out.)  The help file won't cause the program to fail, and the sound won't 
either,
but it is as convenient as I could make it without removing a large amount 
of code.

Try it on any log file or make your own.  You'll see it works.  The program 
will read
the last saved line in a log file, and if that line contains the search 
string you set up in
the config it will output to the miniframe you set up.

So I don't buy that it's my program that has an error in it and that's why 
the EXE
doesn't work, the python file does., so why wouldn't the exe?

<salute> 

Steve 
Thread:
Steve Freedenburg
Werner F. Bruhin
Steve Freedenburg
Steve Freedenburg
Steve Freedenburg
Werner F. Bruhin
Steve Freedenburg
Werner F. Bruhin
Steve Freedenburg
Tim Roberts

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved