| Reply | « Previous Thread | Next Thread » |
|
Hey everybody.
What is the simplest and fastest way (if any exist at all) to import a C dll into Python? thx!! |
|
Standard Python, version 2.5 and above, has the ctypes module for dynamically linking and accessing shared libraries. This module is unfortunately not available for PyS60. The only way to access external DLLs from PyS60 is to write a Python extension wrapper for each DLL in C++. PyS60 documentation has a chapter for explaining the basics: Chapter 9.2: Extending Python for S60.
EDIT: There is ctypes for PyS60. It requires OpenC and a bunch of other packages installed, so it might not qualify as "simple". |
|
Quote:
See this tutorial: http://discussion.forum.nokia.com/fo...d.php?t=153062 Mikko Ohtamaa Twinapex Research http://www.twinapex.com |
|
Quote:
|
|
Quote:
In any case you need to deal with Symbian C++ coding which might a bit horrifying experience if you haven't done it before. Mikko Ohtamaa Twinapex Research http://www.twinapex.com |
|
Quote:
What do you mean by ICQLib has Python bindings? Where can I find those? Thx. |
|
Quote:
Mikko Ohtamaa Twinapex Research http://www.twinapex.com |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| bluetooth setting using bluecove | amoon108 | Bluetooth Technology | 0 | 2008-10-15 11:11 |
| problem on running my application | rsf | Python | 7 | 2007-10-21 16:56 |
| GoogleIt | deepika.mangla | General Symbian C++ | 4 | 2007-01-08 02:07 |
| SyExpat + problem + memmove + Carbide Express | pearman | General Symbian C++ | 2 | 2006-10-14 23:21 |
| Fail to build syexpat 1.3 under 2nd FP3 | harry_zhang | General Symbian C++ | 9 | 2006-07-27 14:19 |