@@ -0,0 +1,553 @@
+#!/usr/bin/env python%0A%0Aimport aiml%0A%0A# The Kernel object is the public interface to%0A# the AIML interpreter.%0Ak = aiml.Kernel()%0A%0A# Use the 'learn' method to load the contents%0A# of an AIML file into the Kernel.%0Ak.learn(%22std-startup.xml%22)%0A%0A# Use the 'respond' method to compute the response%0A# to a user's input string.  respond() returns%0A# the interpreter's response, which in this case%0A# we ignore.%0Ak.respond(%22load aiml b%22)%0A%0A# Loop forever, reading user input from the command%0A# line and printing responses.%0Awhile True:%0A    print k.respond(raw_input(%22%3E %22))%0A

add test_aiml