01. 파이썬 시작하기
env variables
PYTHONPATH=모듈경로
python script
/usr/bin/env python
frequently used commands
dir(command)
help(command)
type(type)
copy object (default = copy by reference)
import sys
dest = copy.copy(src) # shallow copy
dest = copy.deepcopy(src) # deep copy
print sys.getrefcount(dest) # get reference count
History
Last edited on 04/02/2008 12:07 by psyOblade
Comments (0)