- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 实现任意地方拖拽
LRESULT COrthoDSDlg::OnNcHitTest(CPoint point) { CRect rc; GetClientRect( &rc ); ClientToScreen( &rc ); return rc.PtInRect( point ) ? HTCAPTION: CDialog::OnNcHitTest( point ); }
2012-03-30 16:30:09 414
原创 modify network adapter configuration parameters
#!/usr/bin/env python # -*- coding: cp936 -*- # Author: Jack # Purpose: modify network adapter configuration parameters # date: March 30,2012 import wmi class ModifyNetworkAd
2012-03-30 16:02:03 564
原创 batch change file name
#------------------------------------------------------------------------------- # Name: changeDirName # Purpose: change directory name # # Author: wind # # Created: 29-09-20
2012-03-27 14:25:35 743
原创 send mail
#!/usr/bin/env python # -*- coding: cp936 -*- #------------------------------------------------------------- #author: Jack_wind #purpose: The summary of three ways of send mails #time: 13th D
2012-03-27 14:19:22 773
原创 switch sentence
#!/usr/bin/env python # -*- coding: utf-8 -*- class switch(object): def __init__ (self,value): self.value=value self.fall=False def __iter__ (self): y
2012-03-27 14:17:21 372
原创 Calculation constellation
# -*- coding: cp936 -*- import os, time, string def isContainLetters(birthday): notrans = string.maketrans('', '') letterset = string.letters return len(letterset) != len(lett
2012-03-27 14:03:32 485
原创 os.path
import os print(os.path.expanduser('~')) print(os.path.realpath(os.path.expanduser('~'))) #print(os.path.isabs('F:\jack')) print(os.system('pause'))
2012-03-01 09:55:46 498
原创 Image process tools
#!/usr/bin/env python # -*- coding: cp936 -*- import gtk import Image import sys import itertools class PyApp(gtk.Window, gtk.HScrollbar, gtk.VScrollbar): def __init__(self):
2012-03-01 09:45:11 911
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人