파이썬 날짜 관련 함수 처리
파이썬 날짜 관련 함수 처리출처 : http://code.p-ark.co.kr/80 #!/usr/bin/python # -*- coding: cp949 -*- from datetime import * import os import sys import time def mktime(): # 년, 월, 일, 시, 분, 초, 0, 0, 0 return time.mktime( (10, 8, 20, 10, 20, 30, 0, 0, 0) ) def timestamp(timestamp): lt = time.localtime(float(timestamp)) #튜플 형태로 반환됨 return "%02d.%02d.%04d %02d:%02d:%02d" % (lt[2], lt[1], lt[0], lt[3], lt[4], lt[..
더보기
Request Object - ServerVariables Collection by Taeyo(김 태영)님
ALL_HTTP HTTP_CONNECTION:keep-alive HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 HTTP_ACCEPT_CHARSET:windows-949,utf-8;q=0.7,*;q=0.3 HTTP_ACCEPT_ENCODING:gzip,deflate,sdch HTTP_ACCEPT_LANGUAGE:ko-KR,ko;q=0.8,en-US;q=0.6,en;q=0.4 HTTP_COOKIE:__utma=110578560.469008146.1326864247.1326864247.1326864247.1; __utmz=110578560.1326864247.1.1.utmcsr=google|utmccn=(organic)|..
더보기