<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=ISO-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 11.00.9600.16659"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV><FONT size=2 face=Arial>Cool - will check it out.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Could you possibly test the following for me
though, in meantime, just to make sure the separate/external app will in fact do
what I want/need it to?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><A
href="http://www.blindza.co.za/bzPersonalAssistant/mp3PlaybackTest.zip">http://www.blindza.co.za/bzPersonalAssistant/mp3PlaybackTest.zip</A></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>If you hit enter on tryMe.exe, it should just play
back the MP3 file included in that zip file, but anyway.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks</FONT></DIV>
<DIV><BR>Jacob Kruger<BR>Blind Biker<BR>Skype: BlindZA<BR>"Roger Wilco wants to
welcome you...to the space janitor's closet..."<BR></DIV>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; PADDING-RIGHT: 0px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=timr@probo.com href="mailto:timr@probo.com">Tim Roberts</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=python-win32@python.org
href="mailto:python-win32@python.org">Python-Win32 List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, 24 April, 2014 12:45
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [python-win32] Passing
arguments/values back and forth between separate executables at/during
runtime</DIV>
<DIV><BR></DIV>
<DIV class=moz-cite-prefix>Jacob Kruger wrote:<BR></DIV>
<BLOCKQUOTE cite=mid:CFC365496F5745A19D051A82B4B76093@JakePC type="cite">
<META name=GENERATOR content="MSHTML 11.00.9600.16659">
<STYLE></STYLE>
...
<DIV><FONT size=2 face=Arial>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 size=2 face=Arial>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>
<P>
<HR>
<P></P>_______________________________________________<BR>python-win32 mailing
list<BR>python-win32@python.org<BR>https://mail.python.org/mailman/listinfo/python-win32<BR></BLOCKQUOTE></BODY></HTML>