Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49775 > unrolled thread

Importing modules into IronPython

Started byHighBeliever <akshay.ksth@gmail.com>
First post2013-07-03 15:05 -0700
Last post2013-07-03 16:04 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Importing modules into IronPython HighBeliever <akshay.ksth@gmail.com> - 2013-07-03 15:05 -0700
    Re: Importing modules into IronPython Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-07-03 16:04 -0700

#49775 — Importing modules into IronPython

FromHighBeliever <akshay.ksth@gmail.com>
Date2013-07-03 15:05 -0700
SubjectImporting modules into IronPython
Message-ID<d1a23bc5-6190-4919-858f-e68e1654e71c@googlegroups.com>
Hi, I have to shift a Python 2.7 program to run in Windows. Doing that has forced me to use IronPython because my program is dependent on a .dll file that uses .NET framework. 

I moved all my code to Iron Python and modified it to work with the dll. But I cant import PyQt4 module into the project. Is there a way I can do that? Please Help.

[toc] | [next] | [standalone]


#49784

FromBenjamin Kaplan <benjamin.kaplan@case.edu>
Date2013-07-03 16:04 -0700
Message-ID<mailman.4189.1372892670.3114.python-list@python.org>
In reply to#49775
On Wed, Jul 3, 2013 at 3:05 PM, HighBeliever <akshay.ksth@gmail.com> wrote:
> Hi, I have to shift a Python 2.7 program to run in Windows. Doing that has forced me to use IronPython because my program is dependent on a .dll file that uses .NET framework.
>
> I moved all my code to Iron Python and modified it to work with the dll. But I cant import PyQt4 module into the project. Is there a way I can do that? Please Help.
> --

Generally, extensions that aren't pure Python can only be used with
the interpreter they were designed for. There has been some attempt to
get CPython extensions working under IronPython (there's a tracking
issue on IronPython's bug tracker-
http://ironpython.codeplex.com/workitem/11333), but I don't know how
well it works.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web