Crash boom, why?

David LeBlanc whisper at oz.net
Sun Jul 7 02:54:20 EDT 2002


You might be running into an execution context problem. See what
/pythondoc/lib/built-in-funcs.html#built-in-funcs has to say.

David LeBlanc
Seattle, WA USA

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of tALSit
> Sent: Saturday, July 06, 2002 23:31
> To: python-list at python.org
> Subject: Crash boom, why?
>
>
> Hi, I'm doing some python/c++ integration, and i've come across a problem
> that has nothing to do with c++.
>
> I've got a couple of scripts, and I want python to execute them. I execute
> them with the builtin command "execfile" with just the name of
> the script as
> a parameter. I have two scripts, one of them executes perfectly fine, and
> the other one only has 2 lines (calls to c++ objects). But the
> thing is that
> if I exec the script, python crashes, but if i copy and paste the contents
> of the script inside the python interpreter, it works fine!
>
> Is execfile () the way to go around when I want to exec a script?
> Are there
> limitation to be taken into account with that function?
>
> Thanks for all!
>
> // talsit
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list