全部搜索项
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: wurlitzer  ]

软件包:python3-wurlitzer(2.0.1-2)

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 8.5 kB37.0 kB [文件列表]