I
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 given below in my 3rd class
from import1.py import *
from import2.py import *
regards
prasad chandrasekaran
--- Cancer cures smoking
#-----Original Message-----
#From: [email protected]
#[mailto[email protected]] On
#Behalf Of (e-mail address removed)
#Sent: Wednesday, October 05, 2005 1:32 PM
#To: (e-mail address removed)
#Subject: Python-list Digest, Vol 25, Issue 65
#
#Send Python-list mailing list submissions to
# (e-mail address removed)
#
#To subscribe or unsubscribe via the World Wide Web, visit
# http://mail.python.org/mailman/listinfo/python-list
#or, via email, send a message with subject or body 'help' to
# (e-mail address removed)
#
#You can reach the person managing the list at
# (e-mail address removed)
#
#When replying, please edit your Subject line so it is more specific
#than "Re: Contents of Python-list digest..."
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 the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
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 given below in my 3rd class
from import1.py import *
from import2.py import *
regards
prasad chandrasekaran
--- Cancer cures smoking
#-----Original Message-----
#From: [email protected]
#[mailto[email protected]] On
#Behalf Of (e-mail address removed)
#Sent: Wednesday, October 05, 2005 1:32 PM
#To: (e-mail address removed)
#Subject: Python-list Digest, Vol 25, Issue 65
#
#Send Python-list mailing list submissions to
# (e-mail address removed)
#
#To subscribe or unsubscribe via the World Wide Web, visit
# http://mail.python.org/mailman/listinfo/python-list
#or, via email, send a message with subject or body 'help' to
# (e-mail address removed)
#
#You can reach the person managing the list at
# (e-mail address removed)
#
#When replying, please edit your Subject line so it is more specific
#than "Re: Contents of Python-list digest..."
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 the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.