I hereby claim:
- I am toomore on github.
- I am toomore (https://keybase.io/toomore) on keybase.
- I have a public key whose fingerprint is 422B 779C D894 982B C41E 85EE 3624 CAD7 8AFC 3169
To claim this, I am signing this object:
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import requests | |
import re | |
import sys | |
if __name__ == '__main__': | |
''' How to use. | |
python ./plurkbot.py {username} {password} {saysomething} | |
''' |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# 抓大盤日成交量 | |
# By Toomore | |
from datetime import datetime, timedelta | |
import urllib2, logging, csv, re | |
class ggm(object): | |
def __init__(self,year,savef): |
I hereby claim:
To claim this, I am signing this object:
import csv | |
import arrow | |
def range_week(year): | |
fmt = 'YYYY-MM-DD' | |
span = arrow.Arrow.span_range('week', arrow.get( | |
'%s-01-01' % year), arrow.get('%s-12-31' % year)) | |
with open('./weeks.csv', 'w+') as files: |
week | start | end | |
---|---|---|---|
W53 | 2020-12-28 | 2021-01-03 | |
W01 | 2021-01-04 | 2021-01-10 | |
W02 | 2021-01-11 | 2021-01-17 | |
W03 | 2021-01-18 | 2021-01-24 | |
W04 | 2021-01-25 | 2021-01-31 | |
W05 | 2021-02-01 | 2021-02-07 | |
W06 | 2021-02-08 | 2021-02-14 | |
W07 | 2021-02-15 | 2021-02-21 | |
W08 | 2021-02-22 | 2021-02-28 |