Hi!

Donnie Rhodes wrote:
> So what I'm interested in is how this would work. Is this 'event
> driven' in nature? Would I define the bulk of these slash commands in a
> function and then call it at the end of the script? What would be a
> good module to look at for the text processing and searching aspects?

For implementing the commandline interface, have a look at the getopt
module.

If you store your data in a flat text file, you might use string.find()
or the re module to do the searching. The re module can search case
insensitive and is more versatile.

But maybe you want let your script create some SQL statements and use
the pysqlite module to store and search the data.

Kind regards,
Karsten.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to