Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 285 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 285 Bytes

magicoca

A communication library for Python

支持的通信方式

  • 进程通信

稀奇古怪的语法

from magicoca.chan import Chan

ch = Chan()

# 发送消息

ch << "hello"

# 接受消息

msg = str << ch

# 通道关闭

ch.close()

# 可跨进程通信