# to use, copy, modify, and distribute this software is granted under
# terms provided in the LICENSE file distributed with this software.
+import telnetlib
+
conversation = (
("Identify yourself:", "testuser"),
("Enter your choice:", "n"),
("Disconnecting...", ""),
)
-import telnetlib
mud = telnetlib.Telnet()
mud.open("::1", 6669)
for question, answer in conversation: