This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <tr><td width='30' align='center'>1</td><td width='183' title='浙江省妇女儿童基金会'><a style='padding-left:3px;text-decoration: underline;' href='/content_245.html' target='_blank'>浙江省妇女儿童基金会</a></td><td width='60' ><a href='javascript:void(0)' class='foundationType'>公募</a></td><td width='60' title='浙江省杭州市杭州市中河中路215号220号(浙江省妇女儿童活动中心)'><a href='/content_245.html' target='_blank'>浙江</a></td> <td width='70' align='right' style='padding-right:3px;'><a href='/financeInfo_245.html' target='_blank'>817</a></td><td width='50' style='padding-right:3px;' align='right'>89.60</td> <td width='70' align='center' title='http://zjnpo.foundationcenter.org.cn/zjsfnetjjh'><a href='http://zjnpo.foundationcenter.org.cn/zjsfnetjjh' target='_blank'>点击进入</a></td><td width='115' align='center'><img rank='25' donation='9950555.82' oid='245' name='浙江省妇女儿童基金会' class='btnCompare' src='/templets/newFti/images/add.jpg' border='0'></td></tr><BR></BR><tr><td width='30' align='center'>2</td><td width='183' title='山东省儿童少年福利基金会'><a style='padding-left: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 时间:2015年9月02日 19:10~22:50 | |
| 地点:WFC大益茶庭 | |
| 人员:豆制品、大賓、犇魔王、清浊、MissYou | |
| 主题:读书会第二次内测及内测总结 | |
| 续第一次内侧后,对《深度学习的艺术》第二、三、四章的讨论 | |
| 对于本书的讨论: | |
| 对于解码,以我所理解的应分为两部分,即“分析”和“整合”。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import sys | |
| import re | |
| import hashlib | |
| import csv | |
| import time | |
| import locale | |
| import getopt | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| dic = {} | |
| with open ('access_log.txt') as fh: | |
| lines = fh.readlines() | |
| for item in lines: | |
| time = re.search(r'\d\d\/\w{3}\/\d{4}\:\d\d', item).group() | |
| #print time.group() | |
| #hour = re.search(r'\d\d\:\d\d\s$',item) | |
| hour = time.split(':')[1] | |
| # dic[time] = hour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| outerdic = {} | |
| with open('F-F_Research_Data_Factors_daily.txt') as fh: | |
| lines = fh.readlines() | |
| slicedline = lines[6:-2] | |
| header = lines[5].split() | |
| for element in slicedline: | |
| date = element.split()[0][:6] | |
| outerdic[date] = outerdic.setdefault(date, []) | |
| outerdic[date].append(float(element.split()[1])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| outerdic = {} | |
| with open('F-F_Research_Data_Factors_daily.txt') as fh: | |
| lines = fh.readlines() | |
| slicedline = lines[6:-2] | |
| header = lines[5].split() | |
| for element in slicedline: | |
| date = element.split()[0][:6] | |
| outerdic[date] = outerdic.setdefault(date, []) | |
| outerdic[date].append(float(element.split()[1])) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| import urllib | |
| import urllib2 | |
| import json | |
| data = {'test': 'value'} | |
| data = json.dumps(data) | |
| url = "http://10.20.72.96:8181/api/send/5556?gm_url=http://192.168.65.156:9002/sendmail&menu_id=1" | |
| #data = urllib.urlencode(data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| year_input = raw_input('Please enter a 4-digit year: ') | |
| mylist = [] | |
| with open('F-F_Research_Data_Factors_daily.txt') as fh: | |
| lines = fh.readlines() | |
| slicedline = lines[6:-2] | |
| header = lines[5].split() | |
| for element in slicedline: | |
| yearstr = element.split()[0] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| try: | |
| year_input = int(raw_input('Please enter a 4-digit year: ')) | |
| except: | |
| exit('1st arg must be 4-digit year between 1926 and 2012') | |
| factor_input = raw_input('please enter a Fama-French factor: ') | |
| mylist = [] | |
| with open('F-F_Research_Data_Factors_daily.txt') as fh: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| year_input = raw_input('Please enter a 4-digit year: ') | |
| mylist = [] | |
| with open('F-F_Research_Data_Factors_daily.txt') as fh: | |
| lines = fh.readlines() | |
| slicedline = lines[6:-2] | |
| header = lines[5].split() | |
| for element in slicedline: | |
| yearstr.mkt.smb.hml.rf = element.split() |