[Tutor] Debugger Needed

2006-02-05 Thread Akanksha Govil
Hi,I am new to python, I want to know how to use a debugger and which debugger give a GUI .I am using Suse 9.1.ThanksAkanksha Relax. Yahoo! Mail virus scanning helps detect nasty viruses!___ Tutor maillist - Tutor@python.org http://mail.python.org/ma

[Tutor] Affect of doc strings on performance

2006-06-07 Thread Akanksha Govil
Hi,I wanted to know if we give large doc strings in the python scripts, does it slow down the script execution?Should we always keep those doc strings to minimum if we want fast script execution?ThanksAkanksha __Do You Yahoo!?Tired of spam? Yahoo! Ma

[Tutor] Need info regd Singleton class implementation

2006-06-15 Thread Akanksha Govil
hi,I need to implement a singleton class in python.Please give me some refernce sites which can help me with the same.Also i want to know to call a destructor for a singleton class.ThanksAkanksha __Do You Yahoo!?Tired of spam? Yahoo! Mail has the bes

[Tutor] Need python 2.4 rpm for Suse 9.1

2006-06-21 Thread Akanksha Govil
Hi,I searched the sites but was unable to find Python 2.4 rpm for Suse 9.1.Please send me a link where I can download this.ThanksAkanksha Yahoo! Sports Fantasy Football ’06 - Go with the leader. Start your league today! ___ Tutor maillist - Tutor@py

[Tutor] Query regarding Unittest module behaviour

2006-07-04 Thread Akanksha Govil
Hi,I have 2 scripts , abc.py and xyz.py, In both I have made unittest cases using the unittest module.Script abc.py imports xyz.py.Now when I execute abc.py from commandlline all unittestcases of xyz.py are also executed. Why is this happening and what can be the solution to this.Also I have tried

[Tutor] AssertionError issue

2006-07-24 Thread Akanksha Govil
Hi,I have a class in python which creates an ssh connection to a remote machine.In a function of the class, I have put the code in try/except block.try: -- --except AssertionError: print "Error Condition"In this code, when error occurs, it raises the AssertionError but t

[Tutor] SAX and Python

2006-08-30 Thread Akanksha Govil
Hi,I have written a small code in python for reading xml using SAX.I am importing xml.sax using the following:from xml.sax import saxlib, saxextsOn executing the code I get the following error:ImportError: cannot import name saxlibBoth python-xml and pyxml are installed on my machine along with pyt

[Tutor] Help needed for etherealXML parsing

2006-09-12 Thread Akanksha Govil
Hi,I have downloaded an add on python script "etherealXML.py" for parsing the ethereal captured packets.This script runs fine on python 2.3 but on python 2.4 it gives error.Has any one tried porting this script?Also I found the SAX parser earlier used to return a call back function which is no long

[Tutor] need help for using ssl in python

2006-11-14 Thread Akanksha Govil
Hi,I need to create an ssl socket. But i am getting the folowing error:Traceback (most recent call last):  File "client-Nextone.py", line 35, in ?    resp = port.editCallPlanConfig(req)  File "/home/nabanita/new_soap_zsi/NexToneSubnet_services.py", line 38, in editCallPlanConfig    self.binding.Sen