全部搜尋項
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: wurlitzer  ]

套件:python3-wurlitzer(3.0.3-1)

python3-wurlitzer 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 wurlitzer

維護小組:

外部的資源:

相似套件:

Capture C-level output in context managers

A common task in Python (especially while testing or debugging) is to redirect sys.stdout to a stream or a file while executing some piece of code. However, simply "redirecting stdout" is sometimes not as easy as one would expect. In particular, things become interesting when you want C code running within your Python process (including, but not limited to, Python modules implemented as C extensions) to also have its stdout redirected according to your wish. This turns out to be tricky and leads us into the interesting world of file descriptors, buffers and system calls.

This package supports redirecting this output in a straightforward way using a context manager.

其他與 python3-wurlitzer 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-wurlitzer

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 11。8 kB40。0 kB [檔案列表]