Re: comparing two IP addresses and the underlying machine

2006-12-12 Thread Ratko Jagodic
By the same physical machine I meant one OS using two interfaces and multiple IP addresses mapped to different interfaces. I figured there wouldn't be a direct solution to this so each time I will send all IP addresses to the "match maker" so I can make comparisons and that should work. Thanks for

comparing two IP addresses and the underlying machine

2006-12-11 Thread Ratko Jagodic
Hi all, I've been trying to figure this one out for some time but with no success. I have a machine with two network interfaces, each with their own IP address and it's own domain, for example: - ipA on machineA.domainA - ipB on machineB.domainB Given any pair of IPs or hostnames (or a mix of th

Re: inserting into a list

2006-03-07 Thread Ratko Jagodic
from the Library Reference:s.insert(i, x) same as s[i:i] = [x] (5)On 3/7/06, John Salerno <[EMAIL PROTECTED] > wrote:Let me apologize in advance for what I'm sure is an achingly simple question, but I just can't find the answer in either of my Python books.I've tried a few tests wit

Re: What version of python is running a script

2006-03-07 Thread Ratko Jagodic
import syssys.version yields something like:2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)]On 3/7/06, Fernando Rodríguez <[EMAIL PROTECTED]> wrote:Hi, How can my script tell which version of python is running it?Thanks--http://mail.python.org/mailman/listinfo/python-list -- http:/

figuring out how much data was sent so far via XML-RPC?

2006-03-06 Thread Ratko Jagodic
I am currently using XML-RPC for a very convenient quick-and-dirty way of sending some files (base64 encoded). The files can be bigger sometimes (10-20mb) and I was wondering if there is a way to see how much data was sent already and how much still needs to be sent (like a progress bar). I would o