473,394 Members | 1,854 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Options to integrate Python modules into native windows applications

Hi,

I am looking for the pros and cons as to how to integrate a Python module
into a Windows native application.

So far I have looked at

1) coding the C wrapper myself
2) using Pyrex
3) go for pywin32 and COM

Thanks,

Philippe
Jul 21 '05 #1
7 2215
pywin32 and COM is good. Seems to work for me.

Other methods (services, sockets, pipes, etc.)
can also work well, but it depends on what you
want to do and how you wish to communicate between
the modules.

Larry Bates
Philippe C. Martin wrote:
Hi,

I am looking for the pros and cons as to how to integrate a Python module
into a Windows native application.

So far I have looked at

1) coding the C wrapper myself
2) using Pyrex
3) go for pywin32 and COM

Thanks,

Philippe

Jul 21 '05 #2
Thanks Larry,

I want to:

1) Modify my code as little as possible
2) Please/reassure the lambda VB or VC++ oriented company

Regards,

Philippe

Larry Bates wrote:
Other methods (services, sockets, pipes, etc.)
can also work well, but it depends on what you
want to do and how you wish to communicate between
the modules.


Jul 21 '05 #3
Hi !
I use, intensively, Python, via COM & PyWin32, from Paradox (Object-Pal),
VBScript, Excel, Word, Internet-explorer, AutoIt, etc.
It is simple, powerful and extensible dynamically.
@-salutations
--
Michel Claveau


Jul 21 '05 #4
Hi,

Thanks for your answers,

has anyone also used .net for Python ?

Regards,

Philipe

Philippe C. Martin wrote:
Hi,

I am looking for the pros and cons as to how to integrate a Python module
into a Windows native application.

So far I have looked at

1) coding the C wrapper myself
2) using Pyrex
3) go for pywin32 and COM

Thanks,

Philippe


Jul 21 '05 #5
Re Hi !
I had only test (little) Python for .Net ; OK, it's run. It is possible to
make winform from Python. And I had try to use Python for .Net from my
COM-server, and from VBscript. OK also.

Plus, I had try to call my Python-server-COM, from C# : OK it's run. C#
can use Python.

And, I had try to make, in Internet-Explorer, a page, with Html+javascript,
who call the Python-server-COM, and at the same time, contains an
object-assembly dotNET, who call also the server-COM. It is twisted, but
it's run OK (that opens two sessions of the server-COM, which communicate by
mmap).

* sorry for my bad english *
@-salutations

Michel Claveau


Jul 21 '05 #6
Thanks Michel et salutations.

Your english is fine.

A+

Philippe

Do Re Mi chel La Si Do wrote:
Re Hi !
I had only test (little) Python for .Net ; OK, it's run. It is possible to
make winform from Python. And I had try to use Python for .Net from my
COM-server, and from VBscript. OK also.

Plus, I had try to call my Python-server-COM, from C# : OK it's run. C#
can use Python.

And, I had try to make, in Internet-Explorer, a page, with
Html+javascript, who call the Python-server-COM, and at the same time,
contains an object-assembly dotNET, who call also the server-COM. It is
twisted, but it's run OK (that opens two sessions of the server-COM, which
communicate by mmap).

* sorry for my bad english *
@-salutations

Michel Claveau


Jul 21 '05 #7
Hi !
Your english is fine.

Ce n'est pas mon anglais. Babelfish m'a beaucoup aidé.

@-salutations
--
Michel Claveau
mél : http://cerbermail.com/?6J1TthIa8B
sites : http://mclaveau.com http://bergoiata.org http://ponx.org

Jul 21 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: Ubaidullah Nubar | last post by:
Hi, How well is Python suited for developing database based applications? I am new to Python so please bear with me if some of the questions are too simple. I specifically have the following...
3
by: Olivier Ravard | last post by:
Hi, When I tryed to compile a python module using distutils under windows, and there is an error message if we do not have Microsoft Visual C++ 6 installed. This is because python have been...
2
by: Xah Lee | last post by:
Python Doc Problem Example: os.system Xah Lee, 2005-09 today i'm trying to use Python to call shell commands. e.g. in Perl something like output=qx(ls) in Python i quickly located the...
16
by: PyDenis | last post by:
Today, I found strange error while using py2exe: 1. I wrote simple program and save as 1.py: import win32ui import win32con win32ui.MessageBox('Test messageBox.' , 'Test', win32con.MB_OK |...
66
by: Srijit Kumar Bhadra | last post by:
Is there any specific reason for not using MinGW to build the official distribution of Python for Win32? A quick Google search did not reveal the answer to my question. If a link is available,...
34
by: Anthony Irwin | last post by:
Hi All, I am currently trying to decide between using python or java and have a few quick questions about python that you may be able to help with. #1 Does python have something like javas...
15
by: kyosohma | last post by:
Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.