z*0
2 楼
不想再跑一趟MS店了,MS给了Lumina 900+50刀GC,买了个套,还剩一点花不掉
不知道能不能去勒索Nokia,再给个100刀。。
不知道能不能去勒索Nokia,再给个100刀。。
r*t
3 楼
同求
z*0
6 楼
TITAN 2,要再等两天
Titan已经木有存货了
Titan已经木有存货了
J*e
10 楼
新的显摆方式?
c*n
11 楼
改进版:
from time import sleep
import urllib2
import re
import sys
file = open(sys.argv[1])
cases = file.readlines()
typeP = re.compile('Your Current Case Status for Form (\w+)')
statusP = re.compile('Your Case Status:
([\w\s/]*?)')
dateP = re.compile('(January|February|March|April|May|June|July|August|
September|Octobert|November|December) \d{1,2}, \\
d{4}')
for caseId in cases:
caseId = caseId.strip()
req = urllib2.Request("https://egov.uscis.gov/cris/Dashboard/CaseStatus.
do?appReceiptNum=" + caseId)
response = urllib2.urlopen(req)
html = response.read()
type = typeP.search(html)
status = statusP.search(html);
date = dateP.search(html);
dateStr = date and date.group() or "Unknown date"
if type and status:
print '%13s %8s %s Updated on %s' % (caseId, type.group(1),
status.group(1).strip(), dateStr)
else:
print '%13s not found.' % caseId
sleep(10)
Run like: python read1.py 485List
where 485List contains all the 485 receipt numbers like:
SRC1290042201
SRC1290042206
SRC1290042209
SRC1290042213
SRC1290042216
SRC1290042218
If you want to get all 485 numbers. I will post a follow-up.
from time import sleep
import urllib2
import re
import sys
file = open(sys.argv[1])
cases = file.readlines()
typeP = re.compile('Your Current Case Status for Form (\w+)')
statusP = re.compile('Your Case Status:
([\w\s/]*?)')
dateP = re.compile('(January|February|March|April|May|June|July|August|
September|Octobert|November|December) \d{1,2}, \\
d{4}')
for caseId in cases:
caseId = caseId.strip()
req = urllib2.Request("https://egov.uscis.gov/cris/Dashboard/CaseStatus.
do?appReceiptNum=" + caseId)
response = urllib2.urlopen(req)
html = response.read()
type = typeP.search(html)
status = statusP.search(html);
date = dateP.search(html);
dateStr = date and date.group() or "Unknown date"
if type and status:
print '%13s %8s %s Updated on %s' % (caseId, type.group(1),
status.group(1).strip(), dateStr)
else:
print '%13s not found.' % caseId
sleep(10)
Run like: python read1.py 485List
where 485List contains all the 485 receipt numbers like:
SRC1290042201
SRC1290042206
SRC1290042209
SRC1290042213
SRC1290042216
SRC1290042218
If you want to get all 485 numbers. I will post a follow-up.
c*n
13 楼
You can use the code in http://www.mitbbs.com/article_t0/EB23/31732133.html to get the 485 number and put them into a file.
I will change
print '%13s %8s %s Updated on %s' % (caseId, type.group(1),
status.group(1).strip(), dateStr)
to
print '%13s' % (caseId)
and run
python read.py SRC 1290042200 1290042601 | grep i485 > 485List
Have fun!
I will change
print '%13s %8s %s Updated on %s' % (caseId, type.group(1),
status.group(1).strip(), dateStr)
to
print '%13s' % (caseId)
and run
python read.py SRC 1290042200 1290042601 | grep i485 > 485List
Have fun!
j*1
25 楼
见者有份?不要伪币!
相关阅读
Sprint Touch Pro 2 Release Date Sept 6THIQroutes has competitiontouch pro的电池待机不超过24小时use HTC touch Pro as modem for my laptop(window vista)---HELP!!不开ATT的服务,带GPS的手机,能自己装GPS软件用么?Garmin Nuvifone Ships this weektomtom new maps this monthIgo8 CONTENT_US_2008Q4_NT地图下载地址!TomTom One的Favorites都存在哪个文件里?Sprint Touch Pro的ROM请教一下怎么hard reset htc touch prolocal买了个touch proadd lines to sero最近准备一个projectNokia E71x & LG Incite刷中文系统哪位有googlevoice邀请啊?到哪里买破解的,回国能用的iphone (转载)急,tomtom720刚买安装home然后update,但是自动重起就死机了。CoPilot Live works on iPhoneT-mobile 12%discount for AAA member