<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Jacob Kruger wrote:<br>
</div>
<blockquote cite="mid:CFC365496F5745A19D051A82B4B76093@JakePC"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 11.00.9600.16659">
<style></style>...
<div><font face="Arial" size="2">Alternatively, what would maybe
be a better method for passing string/numeric values back and
forth between two separate executables in this style/sense?</font></div>
<div> </div>
<div><font face="Arial" size="2">Something like peek/poke back in
ooooold days, or something like writing values to windows
registry? Don't think that it should really be necessary, and
think something as simple as either just passing values back
and forth in temporary text files, or sqlite database files,
or even just pickled python objects could do the trick, but,
what do you guys think?</font></div>
</blockquote>
<br>
The Google search term you want is "interprocess communication."
There are a number of ways to do this, although many of them tend to
be system-dependent.<br>
<br>
Windows has the concept of a memory-mapped files -- essentially a
chunk of memory pages that can be shared between multiple
processes. That's awfully easy, but I don't know if there is a
Python mapping. You'd be responsible for wrapping a communication
scheme around that.<br>
<br>
Windows and Linux both have the concept of named pipes, which are
very much like network sockets that don't happen to travel across a
network.<br>
<br>
Heck, even a traditional TCP socket would work for your purpose.
They are very easy to handle in Python, and it would even let you
split your work across several computers.<br>
<pre class="moz-signature" cols="72">--
Tim Roberts, <a class="moz-txt-link-abbreviated" href="mailto:timr@probo.com">timr@probo.com</a>
Providenza & Boekelheide, Inc.
</pre>
</body>
</html>