Cool - will check it out.

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?

http://www.blindza.co.za/bzPersonalAssistant/mp3PlaybackTest.zip

If you hit enter on tryMe.exe, it should just play back the MP3 file included 
in that zip file, but anyway.

Thanks

Jacob Kruger
Blind Biker
Skype: BlindZA
"Roger Wilco wants to welcome you...to the space janitor's closet..."

  ----- Original Message ----- 
  From: Tim Roberts 
  To: Python-Win32 List 
  Sent: Thursday, 24 April, 2014 12:45 AM
  Subject: Re: [python-win32] Passing arguments/values back and forth between 
separate executables at/during runtime


  Jacob Kruger wrote:

    ...  
    Alternatively, what would maybe be a better method for passing 
string/numeric values back and forth between two separate executables in this 
style/sense?

    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?

  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.

  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.

  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.

  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.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------


  _______________________________________________
  python-win32 mailing list
  python-win32@python.org
  https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to