|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/test/cjkencodings/ |
如何在 Python 中使用既有的 C library? 在資訊科技快速發展的今天, 開發及測試軟體的速度是不容忽視的 課題. 為加快開發及測試的速度, 我們便常希望能利用一些已開發好的 library, 並有一個 fast prototyping 的 programming language 可 供使用. 目前有許許多多的 library 是以 C 寫成, 而 Python 是一個 fast prototyping 的 programming language. 故我們希望能將既有的 C library 拿到 Python 的環境中測試及整合. 其中最主要也是我們所 要討論的問題就是: