python中print後面執行ssh.exec_command無效

python中print後面執行ssh.exec_command無效 如下圖✨ o爲標準輸出的內容,在下面這行代碼之前的print等命令都沒問題,執行正常 print('主機名:%s\t' % (a),end="")+print('IP:%s\t' % (ip))。 在這之後的ssh.exec_command('mkdir /app/888.txt')命令就似乎直接跳過了,並沒有創建目錄,pych
相關文章
相關標籤/搜索