Linux SRV-16 6.18.44-paas #1 SMP PREEMPT_DYNAMIC Thu Aug 13 10:08:12 UTC 2026 x86_64
/
proc
/
thread-self
/
root
/
opt
/
python-3.9
/
usr
/
lib
/
python3.9
/
test
/
cjkencodings
/
//proc/thread-self/root/opt/python-3.9/usr/lib/python3.9/test/cjkencodings/big5-utf8.txt
如何在 Python 中使用既有的 C library? 在資訊科技快速發展的今天, 開發及測試軟體的速度是不容忽視的 課題. 為加快開發及測試的速度, 我們便常希望能利用一些已開發好的 library, 並有一個 fast prototyping 的 programming language 可 供使用. 目前有許許多多的 library 是以 C 寫成, 而 Python 是一個 fast prototyping 的 programming language. 故我們希望能將既有的 C library 拿到 Python 的環境中測試及整合. 其中最主要也是我們所 要討論的問題就是: