摘要:
如:#define SDL_INIT_TIMER 0x00000001#define SDL_INIT_AUDIO 0x00000010#define SDL_INIT_VIDEO 0x00000020#define SDL_INIT_CDROM 0x00000100#define SDL_INIT_JOYSTICK 0x00000200#define SDL_INIT_NOPARACHUTE 0x00100000 /**< Don't catch fatal signals */#define SDL_INIT_... 阅读全文
posted @ 2012-06-18 15:31
klobodnf
阅读(2463)
评论(0)
推荐(0)
摘要:
写得非常的详细、莪就不细说了、http://www.cnblogs.com/huxi/archive/2010/07/04/1771073.html自己只组合了一个最通用的例子import reURL = 'http://10.188.53.247:8080/recommend/vav'pattern = re.compile(r'.*\/?')match = pattern.match(URL)if match: print match.group()else: print "None"如果文字匹配、就打印匹配字符、如果不匹配、便打印Non 阅读全文
posted @ 2012-06-18 14:25
klobodnf
阅读(137)
评论(0)
推荐(0)
浙公网安备 33010602011771号