python26
文章平均质量分 75
Jack_wind
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 · 1021 阅读 · 0 评论 -
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 · 567 阅读 · 0 评论 -
python打包成exe
import sys sys.path[0] = 'C:\Python26\Lib\site-packages' from cx_Freeze import setup, Executable base = None if 'win32' == sys.platform: base = 'Win32GUI' setup(name='Image Pro原创 2011-12-28 16:15:45 · 423 阅读 · 0 评论 -
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 · 599 阅读 · 0 评论 -
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 · 875 阅读 · 0 评论 -
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 · 447 阅读 · 0 评论 -
batch change file name
#------------------------------------------------------------------------------- # Name: changeDirName # Purpose: change directory name # # Author: wind # # Created: 29-09-20原创 2012-03-27 14:25:35 · 833 阅读 · 0 评论 -
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 · 638 阅读 · 0 评论
分享