Re: [Tutor] Trouble importing Paramiko

2013-01-04 Thread Ufuk Eskici
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 hugo.yo...@gmail.com On Wed, Jan 2, 2013 at 10:48 AM, Ufuk Eskici ufukesk...@gmail.com wrote: Hello Steven, I've written this before

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 wpr...@gmail.com Hi Ufuk, On 4 January 2013 13:03, Ufuk Eskici ufukesk...@gmail.com wrote: Hello Hugo, I removed all related softwares from my PC and tried to re-install everyting

Re: [Tutor] Trouble importing Paramiko

2013-01-02 Thread Ufuk Eskici
any help is appreciated, thanks... 2012/12/28 Ufuk Eskici ufukesk...@gmail.com 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. I'm

Re: [Tutor] Trouble importing Paramiko

2013-01-02 Thread Ufuk Eskici
mentioned before. 2013/1/2 Steven D'Aprano st...@pearwood.info 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 install the Python 2 version of Paramiko with Python 3, and got many

Re: [Tutor] Trouble importing Paramiko

2012-12-28 Thread Ufuk Eskici
recent call last): File ufo.py, line 4, in module import paramiko ImportError: No module named paramiko 2012/12/27 Francois Dion francois.d...@gmail.com On Thu, Dec 27, 2012 at 8:48 AM, Ufuk Eskici ufukesk...@gmail.com wrote: I got

Re: [Tutor] how to control putty window

2012-12-27 Thread Ufuk Eskici
, line 1, in module import paramiko File C:/Users/eufuesk/Desktop\paramiko.py, line 4, in module ssh = paramiko.SSHClient() AttributeError: 'module' object has no attribute 'SSHClient' Anybody familiar with paramiko? 2012/12/20 Prasad, Ramit ramit.pra...@jpmorgan.com Ufuk Eskici wrote

Re: [Tutor] how to control putty window

2012-12-27 Thread Ufuk Eskici
no attribute 'SSHClient' os.chdir(c:\\Python27) Which directory should I use? 2012/12/27 Alan Gauld alan.ga...@btinternet.com On 27/12/12 09:36, Ufuk Eskici wrote: I've installed Paramiko on my PC with Python 2.7. My code is: import paramiko import os ssh = paramiko.SSHClient

[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 call

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 st...@pearwood.info On 27/12/12 22:44, Ufuk Eskici wrote: Traceback (most recent call last): File C:\Users\eufuesk\Desktop\ufo.**py, line 1, inmodule import paramiko ImportError: No module named paramiko

Re: [Tutor] Trouble importing Paramiko

2012-12-27 Thread Ufuk Eskici
: 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 st...@pearwood.info On 27/12/12 23:33, Ufuk Eskici wrote: 2012

Re: [Tutor] Trouble importing Paramiko

2012-12-27 Thread Ufuk Eskici
/ 2012/12/27 Hugo Arts hugo.yo...@gmail.com On Thu, Dec 27, 2012 at 2:16 PM, Ufuk Eskici ufukesk...@gmail.com wrote: This is the output, it fails. Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win32 Type copyright, credits or license() for more information

Re: [Tutor] how to control putty window

2012-12-21 Thread Ufuk Eskici
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 ramit.pra...@jpmorgan.com Ufuk Eskici wrote: Hello, I run this command and opens putty: import os import

Re: [Tutor] how to control putty window

2012-12-21 Thread Ufuk Eskici
...@jpmorgan.com Ufuk Eskici wrote: Hello, I changed my way. This time I'm using plink under Putty. My python code is: os.chdir(c:\\Program Files\\Putty) cmd = plink -ssh -l ufuk10.10.10.10 -pw password process = subprocess.Popen(cmd) inputdata=r van result = process.communicate(inputdata

[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
response (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 first glance. Subprocess gives you a way to run

[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: