Is it possible to import in Iron Python .pyd files?


(Petras Vestartas) #1

Hi,

Is it possible to import in Iron Python .pyd files?

If yes could you please tell me how?

I want to use this line of code:
from PyQt4 import QtGui, QtCore

but I get error:
Message: cannot import QtCore from PyQt4

The directory is correct and referenced.

Kind Regards,
Petras


(Nathan 'jesterKing' Letwory) #2

Short answer, no.


#3

are there any plans to add support for loading Python .pyd in Rhino 6?
This functionality would be needed to integrate / call Matlab.


(Steve Baer) #4

No sorry; even even though CPython and IronPython use the same language to define logic, they are entirely different systems. Some things don’t work in IronPython that work in CPython and the same goes for the opposite.