开发者

How to create temporary files in memory visible for other process, using python

开发者 https://www.devze.com 2023-01-03 16:24 出处:网络
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 l

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号