1
我想測試出pyssh,但是每次我嘗試導入時都會出現語法錯誤。Pyssh 0.3的新副本中的語法錯誤? (PYTHON)
Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
Traceback (most recent call last):
File "C:\Users\Corey\Desktop\Python\TheOne.py", line 1, in <module>
import SSHController
File "C:\Users\Corey\Desktop\Python\SSHController.py", line 19, in <module>
import pyssh
File "C:\Users\Corey\Desktop\Python\pyssh\__init__.py", line 82
print """User input required for ssh connection.
(Type Ctrl-C to abort connection.)"""
^
SyntaxError: invalid syntax
感謝您的幫助。 – Takkun 2011-05-29 18:55:11