摘要: 笔记-mongodb-用户及角色 1. users 其实mongodb支持多种验证方式,本文只提及最简单也最常用的方式。 1.1. Authentication Database When adding a user, you create the user in a specific databa 阅读全文
posted @ 2019-06-08 22:58 木林森__𣛧 阅读(229) 评论(0) 推荐(0)
摘要: # db mongodbdb_mongo_attr = { 'host': '*', 'port': 27, 'database':'tease', 'username':'*v', 'password':'*} def db_conn(*args): """ :return:pymongodb d 阅读全文
posted @ 2019-06-08 22:29 木林森__𣛧 阅读(1593) 评论(0) 推荐(0)
摘要: windows下创建/删除服务 1. windows下创建/删除服务 1.1. 创建服务 命令格式: sc [servername] create Servicename [Optionname= Optionvalues] servername 可选,可以使用双斜线,如\\\\myserver,也 阅读全文
posted @ 2019-06-08 21:16 木林森__𣛧 阅读(509) 评论(0) 推荐(0)
摘要: 笔记-python-standard library-8.3.collections 1. collections简介 Source code: Lib/collections/__init__.py This module implements specialized container data 阅读全文
posted @ 2019-06-08 12:14 木林森__𣛧 阅读(233) 评论(0) 推荐(0)