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 >> pythoncard
pythoncard
[Pythoncard-users] added Lexicon window to Life sample
by Kevin Altis other posts by this author
Dec 19 2002 5:05AM messages near this date
[Pythoncard-users] wordwrap function added to util.py module | [Pythoncard-users] FW: [wxPython-users] Better late than never (wxPython 2.3.4.1)
I'm sure everyone is tired of hearing about the Life sample, but if you are
using it you should appreciate this. BTW, if you aren't updating from cvs
and are just using release 0.6.9, you can still download the files directly
from:

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/pythoncard/PythonCardPrototyp
e/samples/life/

If you would like to update from cvs, you might want to read:

http://wiki.wxpython.org/index.cgi/PythonCardCvs


Here's the quote from the life readme.txt about the lexicon:

"
On 2002-12-18 I added a Lexicon window which will be displayed if you copy
Stephen Silver's lexicon.txt file into the life samples directory before
starting up the life sample. There are over 780 definitions and patterns in
the lexicon, so I highly recommend you download it. The INTRODUCTION and
BIBLIOGRAPHY are listed with the rest of the definitions and patterns. The
Lexicon home page is:

http://www.argentum.freeserve.co.uk/lex_home.htm

And you can download the zip file that contains lexicon.txt directly at:

http://www.argentum.freeserve.co.uk/lex_asc.zip
"

What is sort of cool is that the lexicon.txt file is auto-parsed when the
application starts up to build the dictionary of definitions and patterns.
That way as the lexicon is updated, there aren't hundreds of special data
files, .lif files, etc. to update, just the lexicon.txt file. As an
experiment I switched the description field to use an HtmlWindow. I still
haven't written the sizer code, so the larger blocks of preformatted text
are a bit awkward to read, but it seems to work okay.

ka



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
Pythoncard-users mailing list
Pythoncard-users@[...].net
https://lists.sourceforge.net/lists/listinfo/pythoncard-users

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved