[python-win32] beginner's question on network programming

Alfred Milgrom fredm at smartypantsco.com
Thu Dec 4 18:45:26 EST 2003


At 10:48 PM 4/12/03 +1100, Rasjid Wilcox wrote:

> > My question is what do I need to make a program network-compatible?
>What precisely do you mean by 'network compatible'?

Well, I did say I was a beginner here :))
Basically I have an educational program and I was asked to make sure it can 
run form a server.
Since it uses a lot of sound and graphics data files, just running it as a 
normal form the server is not good enough.

>Not quite sure if this is what you are after, but have a look at
>http://www.markcarter.me.uk/computing/python/python.html.
>The page lists several frameworks (including XML-RPC, Twisted, Pyro and 
>Corba)
>which may be what you are after.

Thanks a lot for this pointer. It's exactly what I was looking for.
A lot of research and learning to do, but I now have something to get my 
teeth into.

At 08:01 AM 4/12/03 -0800, Tyler Mitchell wrote:
>Alfred,
>Rasjid already noted XML-RPC.  Don't let the complexity of the name fool
>you though, I've found it's really nice to use.  I'm using it for my first
>"networked" application.

Well, you're right - it certainly sounds hard :))

A first read of the overview by Mark Carter made me feel that Pyro might be 
best, but even he prefers XML-RPC.
As he said: "My advice is: if you're looking at making your first stab at 
distributed computing, then consider XML-RPC to see if it has what you want."

>So I suggest you don't waste your time reading until you've found a good
>tutorial.  I was barely able to find a good server example of xml-rpc in
>python!  If you or others on the list would like, I could walk you through
>my  most simple application as a tutorial.

All of it looks hard!
Any better tutorial or a walk-through of a simple example would be great.

Thanks to everyone for helping,
Alfred Milgrom





More information about the Python-win32 mailing list