#coding:utf-8 ''' Created on Aug 31, 2015 @author: mac ''' import os,time,sys def remove(p…
#_*_coding:utf-8_*_ import os import glob def findall(folder): '''遍历指定后缀文件''' if os.path.e…
#python读取管道判断C盘是不是SSD #依赖开源工具smartmontool中的ssmartctl.exe #http://sourceforge.net/projects/…
>>> a,b=5,42 >>> print(a,b) 5 42 >>> 'this is {}, and that is {…
class offer_book: def replaceBlank( p_str, rpl_str ): blank = ' ' numOfBlank = 0 originalL…
#!/usr/bin/env python #coding:utf-8 import os,time,random,threadpool,sys from progressbar …
# 目录树 import os def travelTree(currentPath, count): if not os.path.exists(currentPath): re…
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'poppy' ''' dakele bbs sigin ''…
#/usr/bin/env python3 #coding: utf-8 import os def get_tools(): apppath="/Applications" to…
import Tkinter import socket class window: def __init__(self,root): label1=Tkinter.Label(r…
#coding:utf=8 __author__ = 'ZZ' import os import natsort from operator import itemgetter f…