1234567891011121314 |
- # -*- coding:utf-8 -*-
- import os, sys, time
- from multiprocessing.connection import Pipe
- class NamedPipe():
- def __init__(self, filePath):
- self.filePath = filePath
- if __name__ == "__main__":
- fpipe = os.mkfifo("namedpipe")
- print fpipe
|