自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 资源 (72)
  • 收藏
  • 关注

转载 matplotlib刻度

点击打开链接#!/usr/bin/env python#-*- coding: utf-8 -*- #---------------------------------------------------#演示MatPlotLib中设置坐标轴主刻度标签和次刻度标签.#对于次刻度显示,如果要使用默认设置只要matplotlib.pyplot.minorticks_on()

2012-04-09 18:30:04 2512

原创 bad file decriptor

f = file('test','rb') fout = file('test.out','wb') #fout = file('test.out','w+b') for i in range(10): a = f.read(1) fout.write(a) f.close() f = fout f.seek(4) print f.read(4)

2012-04-09 11:27:39 365

原创 get mac地址

import uuidprint uuid.getnode()sMac = hex(uuid.getnode())print 'smac=',sMac #Mac address here

2012-04-07 10:48:54 328

原创 py2exe example

from distutils.core import setupimport py2exeincludes = ["encodings", "encodings.*"]options = {"py2exe": { "compressed": 1, "optimize": 2, "inclu

2012-03-30 15:04:50 254

原创 matplotlib 中文

# -*- coding: utf-8 -*-"""You can explicitly set which font family is picked up for a given fontstyle (eg 'serif', 'sans-serif', or 'monospace').In the example below, we only allow one font

2012-03-24 08:40:01 997

原创 python get registry infomation

MRAB schrieb:> Jorge wrote:>> I need to know how to get the hardware serial number of a hard disk in >> python.>>> For Windows, see http://www.daniweb.com/forums/thread187326.htmlThis re

2012-03-23 11:41:55 452

原创 matplotlib 打包exe error

D:\workspace\fma_td\src\fma\library.zip\matplotlib\__init__.py:908: UserWarning: This call to matplotlib.use() has no effectbecause the the backend has already been chosen;matplotlib.use() must be

2012-03-22 10:54:27 965 1

原创 windows seven license

CXFV3-V4XPJ-28VWR-B3TGV-GW4CQ

2012-03-19 11:44:17 251

原创 用pylint检查代码

'''Created on 2012-3-13@author: brian'''import osimport shutildef excute_pylint_cmd(file_path): pylint_cmd = "pylint \"%s\" --files-output=y --output-format=html --include-ids=y" % file

2012-03-15 11:52:45 496

原创 python list排序

results.sort(key=lambda rev: rev['sn'])

2012-02-22 17:32:18 256

原创 python删除只读文件

def rm_read_only(fn, tmp, info): if os.path.isfile(tmp): os.chmod(tmp, stat.S_IWRITE) os.remove(tmp) elif os.path.isdir(tmp): os.chmod(tmp, stat.S_IWRITE) shuti

2012-02-22 17:29:59 1807

Expert.Python.Programming

Expert.Python.Programming Expert.Python.Programming

2012-04-21

python_edit_excel

python_edit_excel

2012-04-20

Reference is not valid while using hyperlinks on excel files in windows

Reference is not valid while using hyperlinks on excel files in windows

2012-04-20

python excels-examples

python excels-examples

2012-04-20

python win32 excel python win32 excel

python win32 excel python win32 excel

2012-04-20

sqlite-doc-3071100

sqlite-doc-3071100sqlite-doc-3071100

2012-04-19

ColorPix_1.2_HA_XiaZaiBa

ColorPix_1.2_HA_XiaZaiBa

2012-04-19

jcpicker

jcpicker

2012-04-19

Preserving styles using python's xlrd,xlwt

Preserving styles using python's xlrd,xlwt

2012-04-18

Python Excel How to copy a style from one cell and put it on another

Python Excel (xlrd, xlwt) - How to copy a style from one cell and put it on another - Stack Overflow

2012-04-18

europython2009excel

europython2009excel

2012-04-18

Expert Python Programming

Expert Python Programming

2012-04-13

wmi Cookbook

wmi Cookbook

2012-03-29

python_memory_validator

python_memory_validator

2012-03-27

python memory validator

python memory validator

2012-03-27

PythonMemoryValidatorEvaluationSetup

PythonMemoryValidatorEvaluationSetup

2012-03-27

tmpfile_example

tmpfile_example tmpfile_example

2012-03-27

zip_memory_error

zip_memory_error

2012-03-27

windirstat1_1_2_setup.exe

windirstat1_1_2_setup.exe

2012-03-20

windirstat1_1_2

windirstat1_1_2 windirstat1_1_2

2012-03-20

代码统计工具

代码统计工具,支持多种语言

2017-01-10

mysql5.1

mysql5.1

2013-04-17

eclipse-jee-juno-SR1-win32.7z.004

eclipse-jee-juno-SR1-win32.7z.004

2013-02-20

eclipse-jee-juno-SR1-win32.7z.003

eclipse-jee-juno-SR1-win32.7z.003

2013-02-20

eclipse-jee-juno-SR1-win32.7z.002

eclipse-jee-juno-SR1-win32.7z.002

2013-02-20

eclipse-jee-juno-SR1-win32.7z.001

eclipse-jee-juno-SR1-win32.7z.001

2013-02-20

eclipse_juno

eclipse_juno

2013-02-18

localproxy

localproxy

2012-08-30

notepad++

notepad++

2012-08-30

wxPython-users - wx_DateTime - Python datetime

wxPython-users - wx_DateTime - Python datetime

2012-05-23

python 动态变量

python 动态变量

2012-05-18

Evaluating Python expressions

Evaluating Python expressions

2012-05-16

pyinstaller-1.5.1

pyinstaller-1.5.1

2012-04-28

MultiThread support for SQLite access

MultiThread support for SQLite access

2012-04-28

Python sqlite3 and concurrency

Python sqlite3 and concurrency

2012-04-27

11_13_ sqlite3 — DB-API 2_0 interface for SQLite

11_13_ sqlite3 — DB-API 2_0 interface for SQLite

2012-04-27

Google+Python+Style+Guide中文版

Google+Python+Style+Guide中文版

2012-04-25

pychecker-0.8.19

pychecker-0.8.19

2012-04-25

zh-google-python-style-guide v0.0.1

zh-google-python-style-guide v0.0.1

2012-04-25

python-memcached python-memcached

python-memcached python-memcached

2012-04-23

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除