Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old March 9th, 2007, 12:15 PM
macedo.silva@gmail.com
Guest
 
Posts: n/a
Default Creat a DLL File from python code, and use that DLL file in other Platform (Labview, Java .NET etc)

Hi,

I would like to request your attention for this very specific issue:

I have several classes in Python, and now I want simply re-use it, in
other language.


The closest to solution I think I came was with this site:
http://www.py2exe.org/index.cgi/Py2e...llServer%29%29
but I not able to solve questions related with TLB files and
__init__.py files.

So, could anyone give a tip about HOW TO CREAT a dll file from Python?

thank in advance

AMMS

  #2  
Old March 9th, 2007, 03:35 PM
Diez B. Roggisch
Guest
 
Posts: n/a
Default Re: Creat a DLL File from python code, and use that DLL file in other Platform (Labview, Java .NET etc)

macedo.silva@gmail.com wrote:
Quote:
Hi,
>
I would like to request your attention for this very specific issue:
>
I have several classes in Python, and now I want simply re-use it, in
other language.
>
>
The closest to solution I think I came was with this site:
>
http://www.py2exe.org/index.cgi/Py2e...llServer%29%29
Quote:
but I not able to solve questions related with TLB files and
__init__.py files.
>
So, could anyone give a tip about HOW TO CREAT a dll file from Python?
You might have success with

http://elmer.sourceforge.net/

Diez
  #3  
Old March 9th, 2007, 06:05 PM
Larry Bates
Guest
 
Posts: n/a
Default Re: Creat a DLL File from python code, and use that DLL file in otherPlatform (Labview, Java .NET etc)

macedo.silva@gmail.com wrote:
Quote:
Hi,
>
I would like to request your attention for this very specific issue:
>
I have several classes in Python, and now I want simply re-use it, in
other language.
>
>
The closest to solution I think I came was with this site:
http://www.py2exe.org/index.cgi/Py2e...llServer%29%29
but I not able to solve questions related with TLB files and
__init__.py files.
>
So, could anyone give a tip about HOW TO CREAT a dll file from Python?
>
thank in advance
>
AMMS
>
Do you absolutely need .DLL? You can make a class into a COM object that
nearly every language on the planet can dispatch with ease. Here is some
info:

http://www.oreilly.com/catalog/pytho...pter/ch12.html

Calling an existing .DLL? Use ctypes module.

-Larry
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles