摘要:#本程序功能:下载网络图片至本地,并按编号保存。#使用Ruby1.9.3在winxp_sp3下编写。require 'nokogiri'require 'open-uri'#以下 根据网址解析网页。page = Nokogiri::HTML(open("http://www.169bb.com/Ne...
阅读全文
12 2014 档案
摘要:#coding:utf-8wfile = open('test.txt','w')str=''' 在广大玩家的要求下这款修改器诞生了,这首先要归功于太阁狂人_Cath_Sean的大力支持,这款修改器80%的数据都是有他提供的。真的是非常的感谢!然后还要感谢光荣论坛的每一位,他们都给了我很大的帮助,...
阅读全文
摘要:#coding:utf-8rfile = open('test.txt','r')str=[]for x in rfile: str = x.split(',')for x in str: print (chr(int(x)),end='')rfile.close()
阅读全文
摘要:#coding:utf-8'''主要是unichr()函数。以下数组中的元素转换后为繁体中文,若不加encode("GB18030")就不能正确显示,而且会报错:('gbk' codec can't encode character u'\ue5fa' in position 0:illegal m...
阅读全文

浙公网安备 33010602011771号