[Tutor] Popen.terminate() - WindowsError: [Error 5] Access is denied

2012-02-29 Thread Nikunj Badjatya
Howdy All, Py ver - 3.2, Windows-XP . Logged in as user with admin privileges. >From my main python program, I am running powershell program using subprocess.Popen(). Now I have created a signal_handler() function in main python script which will handle CTRL-C ( This works fine ). Now when I

[Tutor] checking return status of 'ping' in windows

2012-01-21 Thread Nikunj Badjatya
Hi All, I am using the following snippet to check the availability of an IP address. If that IP addr is found free than it can be used later on for further operations. Python ver 3.2 Windows OS {{{ pingret = subprocess.Popen('ping {0}'.format(IPaddr), shell=True,universal_newlines=True, \

[Tutor] Progress Bar

2011-11-08 Thread Nikunj Badjatya
Hi All, I am writing an installer in Python and Powershell which will be used to install Virtual Machines at specific locations. The main script is in Python and main.py inturn calls Powershell scripts (.PS1). It is complete console based and no gui. I am using Python 2.7 I was thinking to have

[Tutor] Calling Python Functions from Powershell scripts

2011-10-05 Thread Nikunj Badjatya
Howdy All, To give an overview of the problem, I have an installer. It is used to install virtual machines at specific location. The installer is written in Powershell and Python. The topmost script is in Python ( install.py ) which internally calls other .py and .PS1 ( powershell ) scripts using

Re: [Tutor] Excited about python

2011-06-10 Thread Nikunj Badjatya
"a byte of python " from Swaroop CH. On Fri, Jun 10, 2011 at 8:08 PM, Kaustubh Pratap chand < warr...@programmer.net> wrote: > > Thanks I liked the tutorial very much. > > > > - Original Message - > > From: Patty > > Sent: 06/10/11 10:21 AM > >

Re: [Tutor] Program_to_catch_changes_in_webpage

2010-05-27 Thread nikunj badjatya
thout notifying admin. Nikunj Badjatya BTech On Thu, May 27, 2010 at 1:20 PM, Alan Gauld wrote: > "nikunj badjatya" > > > I am actually using a web interface for outlook mails. >> > > * It should periodically check for any changes in that webpage . >>

[Tutor] Program_to_catch_changes_in_webpage

2010-05-27 Thread nikunj badjatya
this. ? OS - Linux ( CentOS 5.4) Browser - Firefox, Opera Thanks, Nikunj Badjatya Bangalore, India ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] "Error :Attempt to overwrite cell" while using xlwt to create excel sheets

2010-02-11 Thread nikunj badjatya
Hi, Many thanks to all.. I tried cell_overwrite=True and its working fine..!! On Wed, Feb 10, 2010 at 6:13 PM, Kent Johnson wrote: > On Wed, Feb 10, 2010 at 6:47 AM, nikunj badjatya > wrote: > > > I commented out the "raise Exception" statement in Row.py library &

[Tutor] "Error :Attempt to overwrite cell" while using xlwt to create excel sheets

2010-02-10 Thread nikunj badjatya
Hi, I am using xlwt 0.7.2 and Python 2.6. I come across a situation wherein one of the "rows" of the excel sheet created was being overwritten. And it was flagging the following error. File "/usr/local/lib/python2.6/site-packages/xlwt/Row.py", line 150, in insert_cell raise Exception(msg) Exc

[Tutor] python function to know the path of the program in execution

2010-02-05 Thread nikunj badjatya
XYZ ]$ python ~/prog.py The program's location is ~/prog.py This should be the outcome of the program. I tried with os.getcwd() os.getcwd() will return /path/to/folder/XYZ. Any suggestions? Thanks, Nikunj Badjatya Bangalore, India ___ Tutor mai

[Tutor] Future of Python Programmers

2010-01-30 Thread nikunj badjatya
. Sincerely, Nikunj Badjatya BTech Bangalore, India ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] Contribution to Opensource

2010-01-18 Thread nikunj badjatya
Hi, I recently joined this mailing list so as to improve my knowledge on Python. Its been 4 months I am using Python. So I decided to contribute to any Open source project. Can you help me on how to proceed on this, Whom to contact etc. Thanks, Nikunj Badjatya BTech Bangalore, India