原创 Extending and Embedding the Python Interpreter(五)

There are two more things to do before you can use your new extension: compiling and linking it with the Python system.

原创 關於wxpython中wx.lib.customtreectrl.GenericTreeItem的問題

       在使用wx.lib.customtreectrl的過程中,如果在它的構造函數中指定了TR_AUTO_CHECK_CHILD屬性,那麼在生成的樹中如果選擇的樹選項有子選項的話,那麼這些子選項也會被選中。這本來是一個很實用的功能

原创 Python學習(一)——Python標識符

      ‘#’用於在程序中加入標註,使得程序更容易被理解,但對於程序本身是沒有意思的。在一行中,‘#’符號後的內容都會被認爲是標註。       ‘/’在python中被用作換行時的連接符。        和其它的編程語言類似,‘=’