tutorials on xslt

2005-12-28 Thread Iyer, Prasad C
Hi, Is there any tutorial available for python-xslt processing. It would be really helpful regards prasad chandrasekaran This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addre

RE: python cgi script not understood as html

2005-10-25 Thread Iyer, Prasad C
Your python script is not getting executed. I guess there is something wrong with the server configuration. #-Original Message- #From: Philippe C. Martin [mailto:[EMAIL PROTECTED] #Sent: Tuesday, October 25, 2005 1:27 AM #To: python-list@python.org #Subject: python cgi script not unders

Small utility program for the windows

2005-10-24 Thread Iyer, Prasad C
Hi, I am trying to create a small utility program which would be configured in registry. Something like this Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\ShortCut\command] @="\"python C:\\workspace\\python\\Tut\\ShortCut.py\"" It gives me access denied exception when I try it

Abstract Methods & Abstract Class

2005-10-19 Thread Iyer, Prasad C
Do we have something like abstract methods & Abstract class. So that my class would just define the method. And the implementation would be defined by somebody else. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is inten

RE: Don't want to serialize a variable of object

2005-10-18 Thread Iyer, Prasad C
#Sent: Tuesday, October 18, 2005 1:01 PM #To: Iyer, Prasad C #Cc: python-list@python.org #Subject: Re: Don't want to serialize a variable of object # #Iyer, Prasad C wrote: # #>Hi, #>I got a class which I need to serialize, except for couple of variable. #>i.e. #> #>import c

Don't want to serialize a variable of object

2005-10-17 Thread Iyer, Prasad C
Hi, I got a class which I need to serialize, except for couple of variable. i.e. import cPickle as p class Color: def __init__(self): print "hello world" self.x=10 self.somechar="this are the characters" color=Color() f=file('poem.txt', 'w') p.dump(color, f) f.close()

RE: Confused with module and .py files

2005-10-05 Thread Iyer, Prasad C
: Re: Confused with module and .py files # #Iyer, Prasad C wrote: #> Actually I am bit confused between the modules and .py file #> How do I differentiate between the 2. #> #> For example #> I have a file import1.py, import2.py file #> Which has few functions and classes #> And i

Confused with module and .py files

2005-10-05 Thread Iyer, Prasad C
Actually I am bit confused between the modules and .py file How do I differentiate between the 2. For example I have a file import1.py, import2.py file Which has few functions and classes And if I have a class with same name "BaseClass" in both the file How would I use it if I declare it as give

2 class with same name in different module

2005-10-05 Thread Iyer, Prasad C
I have a class in a module which is getting imported in main module. How do you differentiate between the 2 class regards prasad chandrasekaran This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the p

RE: Python CGI Script

2005-10-02 Thread Iyer, Prasad C
I guess your python script isn't getting executed. a. I guess you might have to tweak the server if the script is not getting executed. b. Maybe your script is getting executed but you are not setting the "Content-type" parameter which is essential for browser that it is an html page. Note :- Se

RE: Overloading __init__ & Function overloading

2005-09-30 Thread Iyer, Prasad C
baseclass1=BaseClass() baseclass2=BaseClass(2,3) baseclass3=BaseClass(4,5,3) regards prasad chandrasekaran --- Cancer cures smoking -Original Message- From: Larry Bates [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 7:39 PM To: Iyer, Prasad C Subject: Re: Overloading

Overloading & Overriden

2005-09-30 Thread Iyer, Prasad C
Hi, Does python supports Overloading & Overriding of the function? regards prasad chandrasekaran This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not th

Overloading __init__ & Function overloading

2005-09-30 Thread Iyer, Prasad C
I am new to python. I have few questions a. Is there something like function overloading in python? b. Can I overload __init__ method Thanks in advance regards prasad chandrasekaran --- Cancer cures smoking -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]