How can you create a temporary FIFO (named pipe) in Python? This should work:
import tempfile temp_file_name = mktemp() os.mkfifo(temp_file_name) open(temp_
If it's for use within your program, and not with any externals, have a look at the Queue module. As an added benefit, python queues are thread-safe.