Hello group,
import clr
clr.AddReference("Microsoft.Office.Interop.Word")
import Microsoft.Office.Interop.Word as Word
_progid_ = "Word.Application"
def get_active_object(progid):
from System.Runtime.InteropServices import Marshal
try:
app = Marshal.GetActiveObject(progid)
ex
Importing package with imp module is tested in test_imp_package()
function of test_imp.py. But sys.modules is incorrectly modified by
imp which this test misses...
Okay, if I was not working on some obscure importing hack, I guess no
one would have found this. :(
How to reproduce:
# x/__init__.p
Hello all,
I wanna know how to create .dll file by IronPython.
Please teach me everything I have to do.
Thank you
All the best
_
Boo! Scare away worms, viruses and so much more! Try Windows Live OneCare!
http://onecare.live.c
I'll fix this for the next release as well - thanks for the report Evan, and
thanks for pointing out Path.PathSeperator in the bug Seo. It'a always nice to
learn something new :).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Wedne
Thanks for the report Seo, I'll fix this for the next release.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Wednesday, October 31, 2007 9:26 PM
To: Discussion of IronPython
Subject: [IronPython] sys.argv in the interactive console
U
On 10/31/07, Michael Foord <[EMAIL PROTECTED]> wrote:
>
>
> However - string literals in code should either be in ascii *or* in a
> declared encoding. Some way out of this situation would be nice...
> (Thinking subclasses of strings...)
The only place I know of that follows this kind of approach
Cool, I'll send out an update after I find out more.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Thursday, November 01, 2007 2:55 PM
To: Discussion of IronPython
Subject: Re: [IronPython] [python] Re: Import decimal failure with Tur
Dino Viehland wrote:
> One option might be a non-technical solution: Instead of you redistributing
> the library (or modified library) we distribute it w/ IronPython - and then
> you're just including the combined package. There's other reasons why it'd
> be good for us to do this (help, encodi
One option might be a non-technical solution: Instead of you redistributing the
library (or modified library) we distribute it w/ IronPython - and then you're
just including the combined package. There's other reasons why it'd be good
for us to do this (help, encodings, warnings, etc...). Unfo