Python and C#

A

Al Christians

For regrettable reasons irrelevant to the content of this
newsgroup, I've some need to get some experience with C#.
My plan for doing this involves writing some parts of some
applications in C# as COM servers and hooking them to python
via COM.

Looking for advice on this as a course of action. Obviously,
I'm not doing this for fun, but for some reasons that are
supported by base workaday considerations. Will this work?
What are the biggest hassles in making it work? Any
pitfalls?

If I get this to work well, next I want to make it easy for
users to install and run the apps. I haven't tried to
package any python apps in about a year. Which packaging
package is better now for this -- py2exe, McMillan's, or
something else? I want the end-users with no python on
their Windows machine to run a simple and non-descript
installer and then be up and running with my app, no
problems.

TIA much for sagacity from anyone who's been there,
done that.


Al
 
T

Thorsten Kampe

* Al Christians (2004-10-03 15:49 +0200)
If I get this to work well, next I want to make it easy for
users to install and run the apps. I haven't tried to
package any python apps in about a year. Which packaging
package is better now for this -- py2exe, McMillan's, or
something else? I want the end-users with no python on
their Windows machine to run a simple and non-descript
installer and then be up and running with my app, no
problems.

To my knowledge neither py2exe nor the McMillan installer offer
installers. Distutils offers a Windows installer but it looks in the
registry for the Python path. Try InnoSetup or th NSIS installer.

py2exe is easier to setup but McMillan offers more functionality.

Thorsten
 
T

Thorsten Kampe

* Gerhard Haering (2004-10-04 16:47 +0200)
The old site www.mcmillan-inc.com is dead since months. Has Gordon disppeared
completely

Out of job I heard :-(.
or is his stuff available somewhere else now?

* Distributing Python Apps
http://paulbaranowski.org/modules.p...tails&lid=8&title=Gordon McMillan's Installer
http://paulbaranowski.org/modules.php?name=Downloads&d_op=getit&lid=8

....and a few other mirrors mentioned in thread recently. Google for it
if you care about the mirrors.

Thorsten
 
L

Larry Bates

Looking for advice on this as a course of action. Obviously,
I'm not doing this for fun, but for some reasons that are
supported by base workaday considerations. Will this work?
What are the biggest hassles in making it work? Any
pitfalls?

Sure this will work. You can call COM server code from Python
no matter what the COM server is written in. I've written
COM servers in Python and called from Python, VB, PowerBuilder,
etc. I've also called COM servers written in other languages.
If I get this to work well, next I want to make it easy for
users to install and run the apps. I haven't tried to
package any python apps in about a year. Which packaging
package is better now for this -- py2exe, McMillan's, or
something else? I want the end-users with no python on
their Windows machine to run a simple and non-descript
installer and then be up and running with my app, no
problems.

I like the combination of py2exe and Inno Setup. py2exe
create standalone code and Inno to create a distributable
installer.

HTH,
Larry Bates
Syscon, Inc.
 
C

Cameron Laird

Sure this will work. You can call COM server code from Python
no matter what the COM server is written in. I've written
COM servers in Python and called from Python, VB, PowerBuilder,
etc. I've also called COM servers written in other languages.


I like the combination of py2exe and Inno Setup. py2exe
create standalone code and Inno to create a distributable
installer.
.
.
.
'Know what *I* think'll be the biggest surprise? 'Getting the
run-time right for the C# part. You're developing the C# server
under WinXP, right, but some users will try to run it under Win98?
*That* might be a bit of an adventure ...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,209
Messages
2,571,088
Members
47,686
Latest member
sparada

Latest Threads

Top