Re: Installed correctly

2006-08-13 Thread Angelo Zhou
Ray wrote: > > I've just installed Python 2.4.3 on windows 2000. On the download page > it says that if python is installed the version number will be > displayed if you enter "python" in a command line window, but that > does not happen - it just says "unrecognized command". Rebooting does > not

Re: How to execute a file outside module's namespace?

2006-08-10 Thread Angelo Zhou
Slawomir Nowaczyk wrote: > Hello, > > Let's say I have a module "emacs", defining function eexecfile(file): > > def eexecfile(file): > # do other stuff > execfile(file,globals()) > # do other stuff > > Now, assume I have file test.py containing an assignment "x=1" > > If I run pytho