[Tutor] Help for Python connection problem. (original) (raw)

Olavi Ivask olavi at city.ee
Thu Jul 29 19:02:33 CEST 2004


example:

file.py

#! /usr/bin/python2.3

import os

print "Starting...."

os.system('telnet mudlib.anarres.org 5000')

olavi ivask

W X Liu wrote:

Hi,

I want to write a program in Python to connect MUD client at mudlib.anarres.org port:5000 for my bot, but I do not know how to connect it ( just simply say hello to people on the MUD). Anyone can help? W X


Tutor maillist - Tutor at python.org http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list