原创 linux下svnserver安裝

Table of Contents 1 linux下svn服務器安裝 1 linux下svn服務器安裝 安裝subversion 下載subversion-version.tar.gz tar xvfz subversion-

原创 windows下安裝clojure

<?xml version="1.0" encoding="gb2312"?> lein install Table of Content

原创 Software Transactional Memory

soft transactional memory Table of Contents 1 Software Transactional Memory 1.1 Lock-base Concurrency1.2 Actor-based

原创 Debian Linux使用

Table of Contents 1 debian linux使用技巧 1 debian linux使用技巧 安裝特定包版本 apt-get install libreadline6=6.1.3-8 安裝源更新 #apt-

原创 crontab的測試方法

<?xml version="1.0" encoding="gb2312"?> crondebug Table of Contents

原创 Django中的表單類

Django中的表單類 Table of Contents 1 Djang中表單類 1 Djang中表單類 Django爲我們提供很多有用的模塊,其中django.forms.Form類非常不錯。 html中一個登錄框的格式大

原创 強大的ctype

有了ctype之後,python用C語言的庫不再需要用C寫轉換函數。 1. 載入動態庫      #include <stdlib.h> // file libHi.c #include <stdio.h> int hi(const

原创 python中類與函數的關係

< classfunc Table of Contents 1 python中class和function的關係 1 python中

原创 Python中的數據模型

Python中的數據模型 __new__ 與 __init__ 的區別 __new__在__init__之前調用__new__在返回一個類的實例時,會調用類的__init__函數__new__沒有返回類的實例,或者返回的實例對應的類沒有_

原创 Python筆記

1, Python中下劃線命名規則        1. 一個下劃線命名的函數和變量,如: _Var或者_Func是不能在其它模塊import的,但是可以在子類中使用        2. 兩個下劃線命名的函數是私有成員,不能import,且

原创 python中的類

< divnotes Table of Contents 1 classes and objects 1.1 類成員和對象成員1.2 特

原创 django book學習筆記

Django 學習筆記 Table of Contents 1 django學習點滴 1 django學習點滴 python ./manage.py shell和python -i的區別 通過manage.py會讀取環境變量D

原创 python3連接sybase

1. python33連接sybase可以用pypyodbc     1) 簡單連接調用程序 import pypyodbc Config = { 'dsn':'test_db_XP', }

原创 python中的ctypes庫初探

python ctypes Table of Contents 1 Python中調用C語言庫 1 Python中調用C語言庫 Python中提供了ctypes標準庫,用來調用C語言庫中的函數。 加載dll C語言函數存在不同

原创 Python中的metaclass

<?xml version="1.0" encoding="gb2312"?> pythonmetaclass Table of Cont