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


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

how? Py extension does not depend on py version

Started byoyster <lepto.python@gmail.com>
First post2014-03-24 13:56 +0800
Last post2014-03-24 13:56 +0800
Articles 1 — 1 participant

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


Contents

  how? Py extension does not depend on py version oyster <lepto.python@gmail.com> - 2014-03-24 13:56 +0800

#68852 — how? Py extension does not depend on py version

Fromoyster <lepto.python@gmail.com>
Date2014-03-24 13:56 +0800
Subjecthow? Py extension does not depend on py version
Message-ID<mailman.8439.1395640614.18130.python-list@python.org>

[Multipart message — attachments visible in raw view] — view raw

I found an extension on this blog
http://www.cnblogs.com/DxSoft/archive/2011/04/08/2009132.html

or you can download the extension directly from
http://files.cnblogs.com/DxSoft/PyFetion.rar

I found that I can do "from DxVcl import *" in py 2.5/2.6/2.7. When I try
this in py24, a msgbox says "no python25.dll is found". However "Dependency
Walker" shows that DxVcl does not has the python??.dll dependency. Is this
a dark side of python which is not in official python doc?

So, to the end, My question is: how can I write such an extension(i.e. not
DLL foe ctypes) in C/C++?

Thanks

Lee

[toc] | [standalone]


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


csiph-web