自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (3)
  • 问答 (2)
  • 收藏
  • 关注

原创 定义类,GM工具脚本

# -*- coding: cp936 -*-import urllibimport urllib2import time__metaclass__=typeclass CheckItem: def __init__(self): self.dic={} filename = raw_input('输入物品名称表:') + '.txt'

2014-06-27 15:12:39 854

原创 读取文本中内容,字符串加工生成字典,查询对于合成道具成本价格

# -*- coding: cp936 -*-filename=r'物品价格表.txt'with open(filename,'r') as f: lines = f.readlines()dic={}for line in lines: if line=='\n': break temp = line.strip('\n').split('\t') s=

2014-06-14 14:00:21 495

原创 python读取文件中的序列,将字符串形式序列转化并求值(eval)

filename=r'C:\Users\Administrator\Desktop\613\123.txt'with open(filename,'r') as f: lines = f.readlines()count1=count2=count3=0for line in lines: temp = line.strip('\n') l=eval(temp)

2014-06-13 14:13:26 1120

原创 读取文档中内容,网站提交

# -*- coding: cp936 -*-import urllibimport urllib2import timeurl = "http://xxx.xxx.xxx.xxx/cgi-bin/addaward"UUID = '100042'with open('球员.txt','r') as f: lines = f.readlines()for line in

2014-06-05 13:35:32 691

幻兽帕鲁mod安装指南(自用mod)

幻兽帕鲁mod安装指南(自用mod)

2024-02-07

HTMLTestRunner.py

HTMLTestRunner修改为兼容python3。使用时将文件名去掉"[py3]",文件放入对应Lib文件夹下,代码导入import HTMLTestRunner

2016-05-26

C程序设计语言(第2版.新版)

[C程序设计语言(第2版.新版)](The.Programming.Language).Brian.W.Kernighan.扫描版

2015-09-11

你早该这么玩Excel

一本很好的介绍Excel实战用法教材,普及了很多实用技巧,特别重要的是原始表格的录入规范。学习后对工作生活有很大帮助,建议阅读。

2015-03-06

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

TA关注的人

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