摘要:
function CEButton1Click(sender)local x = getProperty(CETrainer.CEEdit1,"Text")--这句很重要,获取文本框的值--writeInteger(0x42c0c0,readInteger(0x42c0c0)+x)--设置0X42C... 阅读全文
摘要:
1 #encoding:utf8 2 import os 3 4 fpath = 'D:\Download\LP传奇-麒麟传说\Date' 5 rfile = '' 6 7 files = [] 8 mdbFiles = [] 9 str=bytes('\x00\x01\x00\x00Stan... 阅读全文
摘要:
1 import sqlite3 2 3 name = "tom" 4 age = 30 5 con = sqlite3.connect("d:\\test.db") 6 cur = con.cursor() 7 #cur.execute("select * from user") 8 cur.... 阅读全文
摘要:
1 #encoding:utf-8 2 import struct 3 4 myfile = open("D:\\Backup\\我的文档\\spider.sav","rb+") 5 6 myfile.seek(-4,2)#从末尾向前4个字节,只有这样才准确。 7 myfile.write(s... 阅读全文
摘要:
global x = 0 ;x = 0开始点击,x = 1暂停点击^1::ck_start()^2::ck_end()ck_start(){ x = 0 while x = 0 { Click }}ck_end(){ if x = 0 x = 1 ... 阅读全文
摘要:
#include //蜘蛛纸牌存档文件,读取分数。int main(void){ FILE *rfile; int p[20]; rfile = fopen("d:\\spider.sav","rb+");//只能用rb+,不能用wb fseek(rfile,368,SEEK_SET);//36... 阅读全文
摘要:
#include //蜘蛛纸牌存档文件,修改分数。 int main(void) { FILE *wfile; int n = 655320; wfile = fopen("d:\\spider.sav","rb+");//只能用rb+,不能用wb fseek(wfile,368,SEEK_SET);//368是170的十六进制,这个位置是要修改的内容所在的位置。 fwrite(... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Wind... 阅读全文
摘要:
#本程序功能:下载网络图片至本地,并按编号保存。#使用Ruby1.9.3在winxp_sp3下编写。require 'nokogiri'require 'open-uri'#以下 根据网址解析网页。page = Nokogiri::HTML(open("http://www.169bb.com/Ne... 阅读全文