0

I am using python in Windows. You know there is no tmpfs filesystem like Linux in Windows. So, I want to use pyfilesystem instead. The original codes are like below:

>>> import SomeLibs1
>>> import SomeLibs2
>>> SomeLibs1.Convert('input.txt', 'output.txt')
>>> SomeLibs2.ReadResults('output.txt')

SomeLibs(1/2) means some libs of python. These codes will input 'input.txt' and then give the results to 'output.txt'. SomeLibs2 will read the 'output.txt' to do another thing.

So, I just want to put the 'output.txt' in the virtual store(just like tmpfs in Linux), because I don't need to store it in a hard disk, which might be running faster.

Could PyFileSystem give any help, just like Memory Filesystem?

Please give me some ideas and thanks a lot!

Alan Guo
  • 13
  • 4

0 Answers0