How to check n/w shared dir existance using py script?

2006-08-07 Thread - C Saha -
Hi Python Gurus   I have a python script that is supposed to check to see if a folder exists in a computer on a network, but python always seems to return false.     for example: 1) folder_path = “shared-dir\\packages\\hwmanager\\4.00.1.16” if os.path.isdir(folder_path):    

Newbie in python

2006-03-01 Thread - C Saha -
Hello Python Experts   I am Chirantan, a beginner in python programming world. I have some programming knowledge in SHELL, BATCH and little bit PERL. I subscribed to this list with the hope that I will get support and help from all of you.   To start with, I thought it will be a good idea to s

Newbie errors :-( Need help

2006-03-02 Thread - C Saha -
Hi All   I am getting the result but along with this error, any idea what could be the reason?     fibo.fib(1000) 1 1 2 3 5 8 13 21 34 55 89 144 233 377 610 987Traceback (most recent call last):  File "", line 1, in ?  File "fibo.py", line 8, in fib    return resultNameError: global name 'res

Need to send email on HIGH Disk usage

2006-05-06 Thread - C Saha -
Hi Python Worriors   I am looking for a py script which will send me email when ever my disk becomes more than 90% full. By the way my OS is Win XP.   If anybody have already has written same type of script or something very similar kind of script will also be great.  Thanks a lot to all in

Error : 10053, 'Software caused connection abort'

2006-05-10 Thread - C Saha -
Hi All   I have a mail function in my pythin code and seems like due to that I am getting this error when ever I am running the pythin code. Any idea, how to resolve this?   Error is = (10053, 'Software caused connection abort')     My code is   =

Code convertion from JSP to Python

2006-03-20 Thread - C Saha -
Hi Python Veterans I need to convert a code from JSP (Java Tags are also there inside JSP) to PYTHON. I have OK kind of knowledge in PYTHON, but dont have a muck knowledge in JAVA/JSP. Any idea how to approach?Thanks in advance to allC SahaThanks a lot to all in advance Thanks