I'm trying to write simple batch file generator in pyt开发者_开发百科hon. Batch file consist of about 30-50 lines of text and is passed to other applications. During the execution of script there a lot of calls to external applications. I want to create file in memory (like named pipes in win32). Is there any platform-independent way?
UPD: Thanks for suggestions. Finally decided to use sockets for message passing between applications using cogen.
If you don't mind running a separate server, I'd use Memcached. It's very simple to use and very robust.
http://memcached.org/
精彩评论