Lecter - New Language
unlearned at DELETETHIS.learn2think.org
Fri Aug 2 21:09:04 CEST 2002
"Randy Meeks" <Randy101 at poczta.onet.pl> wrote in message
news:aiekhq$bsp$1 at news.tpi.pl...
> I wrote script language int Python.
> Lecter v0.15 - English Version
> Manual - Polish Version
> 2 Sample - *.lc file
> Lecter is created for build fast script for copying, eraseing etc
> Lecter v0.15 is first version
> Mateusz Kosiedowski
> Randy101 at poczta.onet.pl
I'm not familiar with the language in which the docs are written, but I did
look at the code. It seems to me that you use a lot of:
if x == 'a':
if x == 'b':
if x == 'c':
# Do something
constructs for detecting your keywords. Perhaps a dictionary approach would
better suit the task? Might cut the length of your code in half.
Daniel Fackrell (unlearned at learn2think.org)
When we attempt the impossible, we can experience true growth.
More information about the Python-list