Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Brian Curtin
On Sat, Feb 20, 2010 at 15:55, Michael Foord wrote: > On 20/02/2010 15:53, Lukas Cenovsky wrote: > > Brian Curtin wrote: > > On Sat, Feb 20, 2010 at 13:20, Lukas Cenovsky wrote: > >> Lukáš Duběda wrote: >> >>> Hi there everyone, >>> >>> I'm having problems importing a module, concretely win32com,

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Lukáš Duběda
Hmm, but this is strange. The Interop works, but IronPython throws a lot of exceptions at me when executing, or rather, passing a string to execute as a function, for example, in the remote application. Here's the exception: ** Exception Text ** System.Runtime.InteropSer

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Lukáš Duběda
Amazing! Thanks a lot, Lukas, the late bound Interop functionality really did work! I'll never get enough of .NET and IronPython. :) Ještě jednou díky! ;) Lukáš Duběda Director [T] +420 602 444 164 duber studio(tm) [M] i...@duber.cz [W] http://www.duber.cz [A] R.A.Dvorského 601, Praha 10 [A]

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Michael Foord
On 20/02/2010 15:53, Lukas Cenovsky wrote: Brian Curtin wrote: On Sat, Feb 20, 2010 at 13:20, Lukas Cenovsky > wrote: Lukáš Duběda wrote: Hi there everyone, I'm having problems importing a module, concretely win32com, from within

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Lukas Cenovsky
Brian Curtin wrote: On Sat, Feb 20, 2010 at 13:20, Lukas Cenovsky > wrote: Lukáš Duběda wrote: Hi there everyone, I'm having problems importing a module, concretely win32com, from within IronPython. The problem is, when

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Lukas Cenovsky
Lukáš Duběda wrote: Hi Lukas, thanks for the tip, it actually never occured to me. I'm used to using the win32com module for communicating with an OLE server I established in a separate application. I'm tryint to send code in different language, native to the app., via this OLE bridge and for t

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Brian Curtin
On Sat, Feb 20, 2010 at 13:20, Lukas Cenovsky wrote: > Lukáš Duběda wrote: > >> Hi there everyone, >> >> I'm having problems importing a module, concretely win32com, from within >> IronPython. >> >> The problem is, when I run IronPython as a console, and add a path to >> the standard Python26 lib

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Lukáš Duběda
Hi Lukas, thanks for the tip, it actually never occured to me. I'm used to using the win32com module for communicating with an OLE server I established in a separate application. I'm tryint to send code in different language, native to the app., via this OLE bridge and for that I used to use win

Re: [IronPython] Importing standard Python libs

2010-02-20 Thread Lukas Cenovsky
Lukáš Duběda wrote: Hi there everyone, I'm having problems importing a module, concretely win32com, from within IronPython. The problem is, when I run IronPython as a console, and add a path to the standard Python26 library, the module can be imported without any problems, but as soon as I try

[IronPython] Importing standard Python libs

2010-02-20 Thread Lukáš Duběda
Hi there everyone, I'm having problems importing a module, concretely win32com, from within IronPython. The problem is, when I run IronPython as a console, and add a path to the standard Python26 library, the module can be imported without any problems, but as soon as I try to embed IronPython a