Easter79 Easter79
2年前
tor_api
\\coding:utf8\importtornado.httpserverimporttornado.ioloopimporttornado.optionsimporttornado.webimporttornado.genfromtornado.concurrentimportrun
Stella981 Stella981
2年前
Python 调用 ES、Solr、Phoenix
1!/usr/bin/envpython2coding:utf834@Time:2019/8/125@Author:ZhangFan6
Stella981 Stella981
2年前
Python脚本 from collections import namedtuple 失败
脚本collections.py代码如下!/usr/bin/python3coding:utf8collectionsfromcollectionsimportnamedtuplePointnamedtuple('Point','x','y')
Stella981 Stella981
2年前
Coding Girls x Shenzhen DAY 4
!(https://oscimg.oschina.net/oscnet/f8d4257d49d345fb85d6f0de508eb3fe.jpg)!(https://oscimg.oschina.net/oscnet/7b76ef70f177481cb8d5fae1b1e7192e.png)!(https://oscimg
Stella981 Stella981
2年前
LightGBM建模
LightGBM1.读取csv数据并指定参数建模coding:utf8importjsonimportlightgbmaslgbimportpandasaspdfromsklearn.metricsimportmean_squared_error
Wesley13 Wesley13
2年前
MXNet动手学深度学习笔记:GPU加速计算
coding:utf8'''NDArray在GPU上计算'''frommxnetimportndfrommxnet.gluonimportnnimportmxnetasmxand.array(1,2,3,ctxmx.gpu())
Stella981 Stella981
2年前
Python3 比较两个图片是否类似或相同
  Python代码coding:utf8importosfromPILimportImage,ImageDraw,ImageFileimportnumpyimportpytesseractimportcv2importimagehashimportcoll
Stella981 Stella981
2年前
Flask源码阅读
源码coding:utf8"""flask._compat~~~~~~~~~~~~~Somepy2/py3compatibilitysupportbasedonastrippeddownversionofsixsowedon'thavetodependona
Wesley13 Wesley13
2年前
MXNET:权重衰减
构建数据集coding:utf8frommxnetimportinitfrommxnetimportndarrayasndfrommxnet.gluonimportlossasglossimportgbn_train2
Stella981 Stella981
2年前
Python接收开源中国GITOSC WebHook的POST数据
 coding:utf8import urllibimport jsonfrom BaseHTTPServer import HTTPServer,BaseHTTPRequestHandlerclass RequestHandler(BaseHTTPRequestHandler):