Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread Dave Angel
On 18/10/2013 13:02, telconsta...@gmail.com wrote: > Hey John, > > Thanks for the response. I really don't know why I didn't think about that. I > decided to add the following statement: > > print root > > When I RUN, this is what I get: > C:\My Documents\Netbeans\Mytests > > When I debug, this i

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread Steven D'Aprano
On Fri, 18 Oct 2013 10:02:59 -0700, telconstar99 wrote: > Any > thoughts on how to detect the runtime CWD? import os os.getcwd() -- Steven -- https://mail.python.org/mailman/listinfo/python-list

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread telconstar99
Hey John, Thanks for the response. I really don't know why I didn't think about that. I decided to add the following statement: print root When I RUN, this is what I get: C:\My Documents\Netbeans\Mytests When I debug, this is what I get: C:\Program Files Having these two directories as differ

Re: Receiving 'NAMEERROR:name' when I try and execute my code in DEBUG mode

2013-10-18 Thread John Gordon
In <311c58bc-a826-468f-8c37-cb53600d4...@googlegroups.com> telconsta...@gmail.com writes: > Hello, > I'm writing a testing framework in Jython. My code executes successfully > when I RUN my project, however, when I DEBUG my project I receive the > following error > SOURCE:NAMEERROR:name 'Load_C