|
From: | Michael Hennebry |
Subject: | Re: [Help-glpk] [Fwd: GLPK enhancement] |
Date: | Mon, 27 Apr 2015 15:54:22 -0500 (CDT) |
User-agent: | Alpine 1.00 (DEB 882 2007-12-20) |
On Fri, 20 Mar 2015, Erik Quaeghebeur wrote:
Heinrich Schuchardt:On Linux you can create a FIFO with mkfifo and pass the path to the GLPK. On Windows you can create a named pipe and use its path (CreateNamedPipe).Thanks for the idea. Sadly enough for my needs, Python does not provide a unified interface for named pipes it seems, so a temporary files is still better from the portability perspective.
If you are dead set against a temporary file and have the documentation for your C, you could create your own pseudo-FILE that simply read from the string. It's probably not worth the effort. -- Michael address@hidden "SCSI is NOT magic. There are *fundamental technical reasons* why it is necessary to sacrifice a young goat to your SCSI chain now and then." -- John Woods
[Prev in Thread] | Current Thread | [Next in Thread] |