Help On Paramiko

2012-06-18 Thread Nikunj.Badjatya
Howdy All, I am trying to use paramiko to automate logging in to remote unix machines and executing some commands there. When I normally do ssh from my linux machine (with Python 2.6) to this machine a different '>' prompt comes. It's a device specific custom prompt. After I run 'enable' command

RE: Thread problem

2011-11-23 Thread Nikunj.Badjatya
Can someone help me on this please? From: python-list-bounces+nikunj.badjatya=emc@python.org [mailto:python-list-bounces+nikunj.badjatya=emc@python.org] On Behalf Of nikunj.badja...@emc.com Sent: Wednesday, November 23, 2011 11:15 AM To: python-list@python.org Subject: Thread problem

Thread problem

2011-11-22 Thread Nikunj.Badjatya
Howdy All, Please see http://pastebin.com/GuwH8B5C . Its a sample program implementing progressbar in multithreaded program. Here I am creating a thread and passing update2() function to it. Now wheneever I press CTRL-C, the program isnt returning to prompt. ! Can someone help me out with this p

Multiple Threads - I/O in Same File

2011-11-21 Thread Nikunj.Badjatya
Hi All, Just a question in general. Is it possible that we have opened one file in r+ mode ( file1.txt ). We have 2 threads, * Thread1 will continuously 'only read' the file in a loop. * Thread2 will only update the data in the file ( say a number < 100 ). Now thread2 has ca

RE: ProgressBar - Python and Powershell

2011-11-21 Thread Nikunj.Badjatya
Just write an installer in WiX, NSIS or Inno like the rest of the sane world. >> >> Alternatively take a look at MakeMSI or the script python uses to >> generate there .MSI. >> >> Anything else is WAY too non-standard to consider. >> >> On Mon, Nov 21, 2011 at

RE: ProgressBar - Python and Powershell

2011-11-21 Thread Nikunj.Badjatya
installer in Python and Powershell? > > Just write an installer in WiX, NSIS or Inno like the rest of the sane world. > > Alternatively take a look at MakeMSI or the script python uses to > generate there .MSI. > > Anything else is WAY too non-standard to consider. > > On Mon, Nov 2

RE: ProgressBar - Python and Powershell

2011-11-20 Thread Nikunj.Badjatya
. Alternatively take a look at MakeMSI or the script python uses to generate there .MSI. Anything else is WAY too non-standard to consider. On Mon, Nov 21, 2011 at 12:01 AM, wrote: > Can anyone throw some light on this please ! ? > > > > > > From: python-list-bounce

RE: ProgressBar - Python and Powershell

2011-11-20 Thread Nikunj.Badjatya
Can anyone throw some light on this please ! ? From: python-list-bounces+nikunj.badjatya=emc@python.org [mailto:python-list-bounces+nikunj.badjatya=emc@python.org] On Behalf Of nikunj.badja...@emc.com Sent: Thursday, November 17, 2011 4:10 PM To: python-list@python.org Subject

ProgressBar - Python and Powershell

2011-11-17 Thread Nikunj.Badjatya
Hi All, I am using Python 2.7, windows Env. I have an Installer written in Python(45%) and Powershell(55%) which is used to install Virtual Machines at specific locations. It is single threaded. I am trying to implement a ProgressBar for this installer. So that the user will come to know the pr