[IPython-user] embedding IPython in windows dll

Tony Cappellini cappy2112@gmail....
Mon Mar 10 09:47:42 CDT 2008


If the post regarding opening a Windows console does not help you
(although it makes very good sense to me), try posting a message
on the Python Win32 list. There are many very knowledgeable people
there who specifically deal with Python running on Windows.
The author of this book is on the list as well, and I recommend this
book to you (not specifically for solving your current problem though)
http://www.oreilly.com/catalog/pythonwin32/

Message: 7
Date: Mon, 10 Mar 2008 02:12:55 +0330
From: "mani sabri" <mani.sabri@gmail.com>
Subject: [IPython-user] embedding IPython in windows dll
To: <ipython-user@scipy.org>
Message-ID: <47d4683d.0b9e100a.2199.ffffe26e@mx.google.com>
Content-Type: text/plain;       charset="us-ascii"

Hello

I'm using:

- Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]
- IPython 0.8.2
Short story: Can't launch an Ipython shell from a dll with the bellow code.
Long story: There is an online trading program (Metatrader) and I'm trying
to open an Ipython shell for it. Because it's not an opensource project I
came up with the solution of opening the shell in the dllmain() of a dll
that is importable in the scripting environment of its expert advisors[1].
The dll is attached to the program as long as the expert is working so it
can somehow hold the shell and other stuff! BTW I came up with these:


More information about the IPython-user mailing list