Measuring time of a telnet connect

Fabian Lanze fabian_punkt_lanze at rwth_minus_aachen.de
Wed Apr 15 10:30:50 CEST 2009


Jack diederich schrieb:
>> Has anyone an idea how to solve this?
> 
> import time
> import telnetlib
> 
> start = time.time()
> conn = telnetlib.Telnet('localhost', 80)
> print time.time() - start

Perfect! Thank you..



More information about the Python-list mailing list