Learning notes

2016年1月5日 星期二

python property and private

有關於python property的用法

http://www.programiz.com/python-programming/property
這篇有非常詳盡且清楚的解釋

http://openhome.cc/Gossip/Python/Property.html
這篇有講到deletor及一點點其他用法

http://stackoverflow.com/questions/1641219/does-python-have-private-variables-in-classes
這裡有提到python沒有嚴格的規定private是不能被access的
張貼者: Unknown 於 下午2:06
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest

沒有留言:

張貼留言

較新的文章 較舊的文章 首頁
訂閱: 張貼留言 (Atom)

關於我自己

Unknown
檢視我的完整簡介

網誌存檔

  • ►  2017 (1)
    • ►  7月 (1)
  • ▼  2016 (25)
    • ►  6月 (1)
    • ►  4月 (1)
    • ►  3月 (3)
    • ►  2月 (4)
    • ▼  1月 (16)
      • AMD顯示卡玩Diablo 3閃退/畫面卡住問題
      • 小技巧
      • 使用caffe.Net創建和讀取model
      • 一些筆記2
      • 一些有關caffe使用multi label或regression的文章
      • GraphViz's executables not found
      • 一些筆記
      • 有關於library的分別、製作及用法
      • python property and private
      • easy_install & pip
      • 筆記:在Mac上安裝Caffe(後續)
      • python import
      • cmake腳本中印出訊息的方法
      • 筆記:在Mac上安裝Caffe(CPU only)
      • PATH or LD_LIBRARY_PATH
      • .bash_profile or .bashrc
  • ►  2015 (2)
    • ►  12月 (2)
浮水印主題. 技術提供:Blogger.