摘要: 最近有个朋友炒股 但又怕被人发现 于是用我刚学的python给他写了个看股票的东东#coding:gbkfromTkinterimportTk,Entry,Button,mainloopfromtkFontimportFontimporturllib2importcodecsimportthreadingdefgetStock():codes=code.get().split(',')allv=[]forcincodes:c="sh"+cifc.startswith('6')else"s_sz"+cres=urllib2. 阅读全文
posted @ 2011-03-23 11:26 死 神 阅读(1168) 评论(1) 推荐(0) 编辑
摘要: 工行的测试环境真是非常地烂,给的api查询居然是c++的,还写着dotnet的名字,这里我给出一个asp.net c#的实现publicclassICBC_API{staticstringapiUrl="https://corporbank3.dccnet.com.cn/servlet/ICBCINBSEBusinessServlet";staticstringcerPath=ConfigurationManager.AppSettings["CertPath"];staticstringcerPwd=ConfigurationManager.AppSe 阅读全文
posted @ 2011-03-23 10:57 死 神 阅读(1266) 评论(1) 推荐(1) 编辑