Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルをまったく使用しないpythonのioデータ構造のようなファイルを探しています。だからただのメモリファイル。私はcStringIOを試しました。これは、 select経由では使用できないという制限付きで探していたものです。それは正しいですが、何らかの方法で両方の要件を満たすデータ構造はありますか? select は、fds の更新をチェックするための便利で快適な方法だと思います。
ファイルシステムにファイルを作成しましたが、SpooledTemporaryFilesで問題が解決しました。