This file contains 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
# coding:utf-8 | |
import os | |
import sys | |
from reportlab.lib.pagesizes import A4, landscape | |
from reportlab.pdfgen import canvas | |
from PIL import Image | |
from reportlab.pdfbase import pdfmetrics | |
from reportlab.pdfbase.ttfonts import TTFont |
This file contains 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
http://pytorch.org/ | |
https://discuss.pytorch.org/ | |
https://github.com/pytorch/ | |
https://github.com/bfortuner/pytorch-cheatsheet/blob/master/pytorch-cheatsheet.ipynb |
This file contains 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
# getHexunFinaceData.r | |
# 从和讯读取财务数据 | |
# version: 0.93 | |
# 调用语法: | |
# getHexunFinaceData(stockid, start, end, type) | |
# 参数含义: | |
# stockid 股票代码 | |
# start 起始年份 | |
# end 结束年份 | |
# type 财务报告类别,默认为"b",表示资产负债表;"i"表示利润表;"c"表示现金流量表 |