Source

wd_pys60 / wd_train.py

Full commit
1
2
3
4
5
6
7
8

##author:weakdancer@gmail.com
import sys
sys.setdefaultencoding("utf8")
#print dir(sys)
import urllib,urllib2

print unicode(eval('"""'+eval(urllib2.urlopen("http://chepiao.sinaapp.com/api.php?action=remain"+urllib.urlencode({"startStation":"郑州","arriveStation":"渑池"})).read())["title"]+'"""'))