Re: [Tutor] Trouble importing Paramiko

2013-01-04 Thread Ufuk Eskici
Hi Walter, Adding Python location to sytem path works. :-) Thanks a lot! Ufuk 2013/1/4 Walter Prins > Hi Ufuk, > > On 4 January 2013 13:03, Ufuk Eskici wrote: > >> Hello Hugo, >> >> I removed all related softwares from my PC and tried to re-install >> eve

Re: [Tutor] Trouble importing Paramiko

2013-01-04 Thread Ufuk Eskici
w32 bdist_wininst 'python' is not recognized as an internal or external command, operable program or batch file. C:\paramiko-1.7.4> What is wrong? 2013/1/2 Hugo Arts > On Wed, Jan 2, 2013 at 10:48 AM, Ufuk Eskici wrote: > >> Hello Steven, >> >> I've wri

Re: [Tutor] Trouble importing Paramiko

2013-01-02 Thread Ufuk Eskici
ing Paramiko installation as I mentioned before. 2013/1/2 Steven D'Aprano > On 02/01/13 20:22, Ufuk Eskici wrote: > >> any help is appreciated, thanks... >> > > > Have you successfully installed it yet? Last time you tried to install, > you tried to insta

Re: [Tutor] Trouble importing Paramiko

2013-01-02 Thread Ufuk Eskici
any help is appreciated, thanks... 2012/12/28 Ufuk Eskici > Hello, > My Python version is 2.7.3 and it is installed in "C:\Python27 (on the > web, it says Paramiko-1.7.4 is supported with Python 2.7) > @Dave: Previous output was from IDLE which should be same with CLI. >

Re: [Tutor] Trouble importing Paramiko

2012-12-28 Thread Ufuk Eskici
\ \lib\\lib-tk', 'C:\\Python27', 'C:\\Python27\\lib\\site-packages'] Traceback (most recent call last): File "ufo.py", line 4, in import paramiko ImportError: No module named paramiko ******** 2012/12/27 Franc

Re: [Tutor] Trouble importing Paramiko

2012-12-27 Thread Ufuk Eskici
line 103 except IOError, e: ^ SyntaxError: invalid syntax File "c:\python33\lib\site-packages\paramiko-1.7.4-py3.3.egg\paramiko\sftp_ser ver.py", line 95 except Exception, e: ^ SyntaxError: invalid syntax File "c:\python33\lib\site-pac

Re: [Tutor] Trouble importing Paramiko

2012-12-27 Thread Ufuk Eskici
, line 1, in import paramiko ImportError: No module named paramiko >>> screenshot of search result: http://i49.tinypic.com/21kmtfp.jpg I inslatted accoording to this link: http://vijaymurthy.blogspot.com/2011/03/installing-paramiko-for-windows.html 2012/12/27 Steven D'Aprano

Re: [Tutor] Trouble importing Paramiko

2012-12-27 Thread Ufuk Eskici
Yes, I've installed it. how can I check it? 2012/12/27 Steven D'Aprano > On 27/12/12 22:44, Ufuk Eskici wrote: > > Traceback (most recent call last): >>File "C:\Users\eufuesk\Desktop\ufo.**py", line 1, in >> import paramiko >> ImportEr

[Tutor] Trouble importing Paramiko

2012-12-27 Thread Ufuk Eskici
My code is: import paramiko ssh = paramiko.SSHClient() ssh.connect('710.10.10.10', username='ufuk', password='ufuk') and saved this file as "ufo.py" on the desktop. I'm still getting error: >>> RESTART >>> Traceback (most recent

Re: [Tutor] how to control putty window

2012-12-27 Thread Ufuk Eskici
27;module' object has no attribute 'SSHClient' >>> os.chdir("c:\\Python27") Which directory should I use? 2012/12/27 Alan Gauld > On 27/12/12 09:36, Ufuk Eskici wrote: > > I've installed Paramiko on my PC with Python 2.7. >> >> My code

Re: [Tutor] how to control putty window

2012-12-27 Thread Ufuk Eskici
cent call last): File "C:/Users/eufuesk/Desktop/paramiko.py", line 1, in import paramiko File "C:/Users/eufuesk/Desktop\paramiko.py", line 4, in ssh = paramiko.SSHClient() AttributeError: 'module' object has no attribute 'SSHClient' >>> Anybody

Re: [Tutor] how to control putty window

2012-12-21 Thread Ufuk Eskici
reen appears, but it frezzes and doesn't continue. I close the window manually and when I write - *print (stdout)* - I can get some output *"..ufuk@home-ubuntu:~$ "* - as a long string. But I dont know why it freezes and why I cannot input anything. How should I continue? 2012/

Re: [Tutor] how to control putty window

2012-12-21 Thread Ufuk Eskici
e(inputdata) But after the successful SSH, I cannot continue, no command runs: This is the new output after the initial SSH connection: No data input. Last login: Fri Dec 21 16:27: ufuk@home-ubuntu:~$ 2012/12/20 Prasad, Ramit > Ufuk Eskici wrote: > > Hello, > > > >

[Tutor] how to control putty window

2012-12-20 Thread Ufuk Eskici
Hello, I run this command and opens putty: import os import subprocess command = '"c:\Program Files\Putty\putty.exe" -ssh ufukeskici@10.10.10.10-pw test subprocess.Popen(command) But then I want to input new commands to this Putty new window. How can I do it? Thanks. Ufuk __

Re: [Tutor] ssh connection

2012-12-18 Thread Ufuk Eskici
se (I have CC-ed the list). > > Ufuk Eskici wrote: > > > > Subprocess seems complicated, didnt understand. > > > > Also tried pexpect but couldnt install on Windows. > > Subprocess can be daunting to try and pick up, but it is > not as bad as it looks at firs

[Tutor] ssh connection

2012-12-17 Thread Ufuk Eskici
Hello All, Can we make an SSH connection with Pyhton 3.3 ? I want to connecto to my router, send commands and receive outputs. Thanks. Ufuk ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/ma