Bear with me - I am new to Python. (And redirect me to a more suitable
newsgroup in case this one is not appropriate.)
I am trying to embed Python into a C++ application and want to get back
a backtrace in case of errors in the python code.
This works well with e.g.
import sys
def u3():
Hi all.
Is there a way to load a module given a full path to the module
without extending sys.path first?
Andre'
--
http://mail.python.org/mailman/listinfo/python-list
Jean-Paul Calderone <[EMAIL PROTECTED]> wrote:
> On Tue, 25 Jul 2006 14:20:41 +0200, Andre Poenitz <[EMAIL PROTECTED]> wrote:
>>
>>
>>Bear with me - I am new to Python. (And redirect me to a more suitable
>>newsgroup in case this one is not appropriate.)
&g
Just <[EMAIL PROTECTED]> wrote:
>
>> On Tue, 25 Jul 2006 14:20:41 +0200, Andre Poenitz wrote:
>> >
>> >
>> >Bear with me - I am new to Python. (And redirect me to a more suitable
>> >newsgroup in case this one is not appropriate.)
>> >
Andre Poenitz <[EMAIL PROTECTED]> wrote:
> Hi all.
>
> Is there a way to load a module given a full path to the module
> without extending sys.path first?
Ok. imp.find_module() and imp.load_module() seem to do what I need.
Andre'
--
http://mail.python.org/mailman/listinfo/python-list
Gary Herron <[EMAIL PROTECTED]> wrote:
> Andre Poenitz wrote:
>> Hi all.
>>
>> Is there a way to load a module given a full path to the module
>> without extending sys.path first?
>
> The standard module named "imp" can help you with this.
Tha
mardif <[EMAIL PROTECTED]> wrote:
> Hi,
> I've found a strange behavior in method GetPosition() of wxWindow class
>
> ( and derived ).
> On windows, if you create a window object
>
> frame = wx.Frame(None, -1, "TESTING")
>
> and you set the position to:
> frame.SetPosition( (300, 45000) )
>
> I