-- DarrylVanDorp - 15 Oct 2002
select * from channel_logs where nick='SomeNick' order by entered desc limit 1;
Like a seen query gets the last row for that nick in the database.
-- DarrylVanDorp - 15 Oct 2002
String processing in python:
http://www-106.ibm.com/developerworks/linux/library/l-python5.html
--DarrylVanDorp - 16 Oct 2002
Gentle regular expressions tutorial
http://nltk.sourceforge.net/tutorial/regexps/nochunks.html
--DarrylVanDorp - 23 Oct 2002
Access zSQl methods from a python script (inside zope)
http://lists.initd.org/pipermail/psycopg/2002-June/001168.html (read the thread not the individual message)
--DarrylVanDorp - 30 Oct 2002
Silly COM program example in python (win32 only of course)
import win32com.client
import agent
Agent=win32com.client.Dispatch("Agent.Control.2")
Agent.Connected=1
Agent.Characters.Load("Merlin","C:\WINNT\MSAGENT\CHARS\MERLIN.ACS")
Merlin=Agent.Characters("Merlin")
Merlin.Show()
Merlin.Speak("You are fired!")
Merlin.Hide()
Agent=None
Note: Why did this only work when pythonwin was running?
|