basic question on loop & type casting / list/str/array

2022-03-16 Thread Kiran Kumar
Hi. Pls check on below poython 3.9.x code & suggest how can i keep the string intactst in 2nd loop... ? these are aws ec2 ids >>> INSTANCE_ID = ['i-0dccf1ede229ce1','i-0285506fee62051'] >>> for i in INSTANCE_ID: ... print (i) ... i-0dccf1ede229ce1 i-0285506fee62051 >>> >>> >>> >>> for i in IN

Problem with pexpect when executing a command on a remote machine

2014-08-27 Thread Kiran kumar Venkumahanti
Hi, I am trying to execute a command on a remote machine for which I am using Python pexpect module. Iam able to connect and copy files to the remote machine but getting the following error when trying to execute commands on the remote machine. Please find the below error. ''Error sending comman

copying only recent files from one machine to another

2007-03-21 Thread kadarla kiran kumar
dard implementation for that in python/paramiko ? If not , can anyone suggest me the efficient method to implement the same. Thanks in Advance, Kiran Kumar - No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started.--

Re: implementing SFTP using Python

2007-03-05 Thread kadarla kiran kumar
t recent call last): File "C:\paramiko-1.6\paramiko-1.6\demos\demo_simple.py", line 102, in sys.exit(1) SystemExit: 1 THANKS IN ADVANCE K. KIRAN KUMAR kadarla kiran kumar writes: > I have to implement SFTP conection from client to

implementing SFTP using Python

2007-03-02 Thread kadarla kiran kumar
Hi Everybody, I have to implement SFTP conection from client to the server using Python script. Iam very new new to python , and i dont't have much time to complete this. So I need some pointers from you. If anybody has already done this kind of stuff, please let me know. Please do

Is there a memory leakage in this embedded python code?

2006-12-09 Thread kiran kumar
Hi All, I am working on embedded python on C these days. I feel there is a memory leakage in this code. I have used our own memory pool and all the python code will use the heap from this memory pool. RunScript(pScriptName,pFuncName,...) { PyEval_AcquireLock() threadState = Py_NewInterpreter(); PyT