Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
I am trying to execute a script named MTNL.py from
java using PythonInterpreter()
.The first time it executes properly but henceforward it
caches the file and any changes made to file are not
I think it is caching the class file or is there any other
"This e-mail message may contain confidential, proprietary or legally privi=
leged information. It=20
should not be used by anyone who is not the original intended recipient. If=
you have erroneously=20
received this message, please delete it immediately and notify the sender. =
acknowledges that ICICI Bank or its subsidiaries and associated companies, =
Group"), are unable to exercise control or ensure or guarantee the integrit=
y of/over the contents of the information contained in e-mail transmissions=
and further acknowledges that any views=20
expressed in this message are those of the individual sender and no binding=
nature of the message shall be implied or assumed unless the sender does s=
o expressly with due authority of ICICI Group.Before opening any attachment=
s please check them for viruses and defects."=20
[ DEEPAK PANICKAR ]
> I am trying to execute a script named MTNL.py from
> java using PythonInterpreter()
> .The first time it executes properly but henceforward it
> caches the file and any changes made to file are not
> I think it is caching the class file or is there any other
IMHO using PythonInterpreter's execfile() method does not cache the
file, but the interpreter caches the namespace.
So changes to your file MNTL.py should be reflected on the next
But if MNTL.py imports from another .py file (say utility.py), then
changes to utility.py are NOT immediately visible.
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.