色彩时光 | 记录程序员世界的点点滴滴

django celery beat代码流程梳理

django celery beat代码流程梳理 celery_beat .jpg
继续阅读 →

python通过stomp连接不上activemq

python通过stomp连接不上activemq 网上很多是通过指定61616端口连接 其实不然。the standard port we use is 61613 for Stomp. See this page for some info on configuring Stomp: 继续阅读 →

dubbo python 调用

通过telnet调用 继续阅读 →

python模拟微博登陆

python模拟微博登陆 [code] # -*- coding: utf-8 -*- import re import json import base64 import binascii import rsa import requests import urllib2 import url
继续阅读 →

分词相关记录

结巴分词:http://www.oss.io/p/fxsjy/jieba 中文分词词性对照表:继续阅读 →

weibo status share

python调用微博分享接口,里面关于怎么使用post提交数据,以及api接口灵活调用值得借鉴学习。 http://github.liaoxuefeng.com/
继续阅读 →

tushare快捷命令调用及kdj指标

tushare快捷命令调用 https://github.com/passi0n/tushare_cq [code] tushare挖地兔 命令调用快捷方式 p
继续阅读 →

selenium 元素定位小结

1、通过属性定位元素 [code] #定位属性expinfo为object的div元素 ele=driver.find_element_by_xpath("//div[@expinfo='object']") #定位属性expinfo包含object字符的div元素 ele=driver.find
继续阅读 →

django urllib cookie记录

在urllib新建请求时需配置request的cookie 详细见: 继续阅读 →

python git 记录

python git 库类 pygit2:www.pygit2.org
gitpyhon:http://gitpython.readthedocs.io/en/stable/
window python3.5 安装库类时碰到unable to find vcvarsall.bat,可以采用下载whl安装文件进行安装。
继续阅读 →

2017-07-21 开发日志记录

django日志记录 访问登录验证 如需访问某个view进行登录验证,一种方法可以通过request.user来判断,另一种办法 导入from django.contrib.auth.decorators import login_required 在所需的view方法上装饰 在setting的L
继续阅读 →

分类

热门标签

友情链接