python
シフトJISで出力 print unicode("日本語", 'utf-8').encode('cp932')
easy_install paramiko import ssh s = ssh.Connection('example.com') s.put('hello.txt') s.get('goodbye.txt') s.execute('du -h --max-depth=0') s.close() http://commandline.org.uk/python/2008/may/29/sftp-python-really-simple-ssh/