1. 首先安装一些python需要的库

1
2
yum groupinstall 'Development Tools'
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel
阅读全文 »

Of Studies

——Francis Bacon

Studies serve for delight, for ornament, and for ability. Their chief use for delight, is in privateness and retiring; for ornament, is in discourse; and for ability, is in the judgment and disposition of business. For expert men can execute, and perhaps judge of particulars, one by one; but the general counsels, and the plots and marshalling of affairs come best from those that are learned.

阅读全文 »

  1. 为什么需要异常?
  2. 程序中可能会出现那些错误和问题?
  3. 异常有哪些种类?
  4. 常见的异常处理方式有哪些?
  5. 使用异常机制的技巧有哪些?
阅读全文 »

  Youth is not a time a of life;it is a state of mind;it is not a matter of rosy cheeks,red lips and supple knees; it is a matter of the will, a quality of the imagination, a vigor of the emotions; it is the freshness of the deep springs of life.

阅读全文 »