> thats a syntax error; I assume you meant
message = message.replace(
"a syntax error",
"almost always an import error (no module named py)"
)
--
http://mail.python.org/mailman/listinfo/python-list
"Iyer, Prasad C" wrote:
> I have a class in a module which is getting imported in main module.
> How do you differentiate between the 2 class
if you have one class in a module, why do you need to differentiate
between it? assuming that you do in fact have *two* classes with
the same name in two
Iyer, Prasad C wrote:
> I have a class in a module which is getting imported in main module.
> How do you differentiate between the 2 class
import foo
import bar
foo.TheClass().dostuff()
bar.TheClass().dostuff()
--
http://mail.python.org/mailman/listinfo/python-list
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