i have written a python code which telnets an ip address and reads and writes the read log into an output file
it is working perfectly using pexpect but it works only on unix.
is there any method so that the script can run on windows also.(other than cygwin)
i tried telnetlib which reads the log correctly but i cant find any method to write it into an output file
any help would be appreciated
it is working perfectly using pexpect but it works only on unix.
is there any method so that the script can run on windows also.(other than cygwin)
i tried telnetlib which reads the log correctly but i cant find any method to write it into an output file
any help would be appreciated
Comment