Some where i am missing simple logic.... :) ===== child = pexpect.spawn('ssh hari@hostname') child.logfile = sys.stdout child.expect('hari\'s Password: ') =====
getting error as follows: ============ child.expect('hari\'s Password: ') TypeError: must be str, not bytes =========== Thanks... -- https://mail.python.org/mailman/listinfo/python-list