Help on module FIBStn15: NAME FIBStn15 FILE ~\fibstn15.py DESCRIPTION FIBStn15.py (C)2008 Don A. Hanlen I make no claims, and take no reponsibility, for use or abuse of this code! I require those who DO use it to cite its source! If this code is used for commercial purposes I expect a negotiable cut! Runs on python 1.5.2 (which is what's on OWT...) hence no .replace() (eg.) Handles basics of telnet communications with FIBS.com:4321 Todo: try/catch sequence on disconnect errors.. see comments ... in _putline() or getline() ... example error in comments at eof socket.error: (104, 'Connection reset by peer') an error could occur in connect() too if FIBS is offline if DNS is whacked FUNCTIONS connect(userid, userpw, client='=US_don_DTbotsRUS!!!') connect to FIBS in client mode no handling of FIBS intro messages getline() return str:line from FIBS cr/lf's are stripped q(lineout) send str:lineout to FIBS, adding linefeed. beware of using q for variable name in code using this module!