I know that the Paramiko api exists for Python 2.x. Is there an emerging method for interacting with a remote server using SFTP functions from within a Python 3.1 script? Extensive searching of the paramiko site uncovered no evidence of 3.x support.
If not, I will either use Python-2.x with Paramiko for my remote access, or maybe just use subprocess.popen() or sim开发者_C百科ilar with Python 3.
I had a similar issue with not being able to install paramiko for some reason (don't remember now), and implemented a wrapper for putty's SFTP implmentation, it's in python 2.x, but you may be able to get some reference value from it.
http://psftplib.googlecode.com/svn/trunk/psftplib.py
加载中,请稍侯......
精彩评论