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 7 2247
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
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.
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
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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 questions:
1. Is there an example of a simple data-entry application written in
Python using a GUI interface? Something like a simple address book app
with a listbox displaying all addresses with the ability to
add/modify/delete.
|
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 compiled with MSVC6 and distutils wants it
in order to compile C++ python modules.
One of the reasons why I use python is because this is a free language. But
I need
|
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 the function due to its
|
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 |
win32con.MB_TOPMOST )
2. I create 1_setup.py file for py2exe:
|
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, please post it.
Best Regards,
Srijit
| |
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 .jar packages. A jar file
contains all the program files and you can execute the program with
java -jar program.jar
I am sort of hoping python has something like this because I feel it
|
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 their time to
create Linux RPMs.
The main thing I need are people willing to test the binaries to make
sure the extension is stable. This would require installing the binary
and probably downloading the source too to get the developer's test
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |