Fork me on GitHub
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页
摘要: 首先去python官网 下载python3的 安装包安装: https://www.python.org/ftp/python/3.6.5/python-3.6.5-macosx10.9.pkg 安装python3,升级pip3 sudo pip3 install --upgrade pip 安装 阅读全文
posted @ 2020-03-17 12:13 MR_黄Python之路 阅读(348) 评论(0) 推荐(0) 编辑
摘要: <table class="static-table"><thead><tr><th>&nbsp;</th> <th>序号</th> <th>网站名称</th> <th>相关篇数</th></tr></thead> <tbody> {% for dict_list in wangzhantongji 阅读全文
posted @ 2020-03-16 15:41 MR_黄Python之路 阅读(995) 评论(0) 推荐(0) 编辑
摘要: import threading import time import datetime import schedule from selenium import webdriver chrome_driver=r"/Library/Frameworks/Python.framework/Versi 阅读全文
posted @ 2020-03-15 13:59 MR_黄Python之路 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-14 17:05 MR_黄Python之路 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-03-14 16:41 MR_黄Python之路 阅读(448) 评论(0) 推荐(0) 编辑
摘要: SQL语句总结: 创建用户: create user scott identified(确认) by root; 删除用户; drop user scott cascade(串联); 创建角色: create role myrole; 授予权限: grant connect, resource to 阅读全文
posted @ 2020-02-14 16:36 MR_黄Python之路 阅读(425) 评论(0) 推荐(0) 编辑
摘要: mac 安装 brew Homebrewbrew 全称Homebrew 是Mac OSX上的软件包管理工具Homebrew 安装和卸载工具 只用一行命令就能完成官方地址 mac 自带ruby打开命令行 terminal输入 : ruby -version 安装命令 ruby -e "$(curl - 阅读全文
posted @ 2020-01-14 09:13 MR_黄Python之路 阅读(813) 评论(0) 推荐(0) 编辑
摘要: #MongoDb 聚合方法 group aggrate mapreduce# 1. Group (不支持分片,分布计算) * 语法结构 <pre> db.collection.group({ key:{category:1}, // 根据category来分类 cond:{shop_price:{$ 阅读全文
posted @ 2020-01-10 14:20 MR_黄Python之路 阅读(1699) 评论(0) 推荐(0) 编辑
摘要: 说明:本文所有操作均在win7下的MongoDB3.4.4版本中进行。 一、备份与恢复 1. 备份: mongodump -h IP --port 端口 -u 用户名 -p 密码 -d数据库 -o 文件路径 (将使用某个用户账号将某个mongodb服务器上的某个数据库备份到某个路径下) 如果无需指定 阅读全文
posted @ 2020-01-10 10:11 MR_黄Python之路 阅读(1350) 评论(0) 推荐(0) 编辑
摘要: 1. count:返回集合中文档的数量。 db.friend.count() db.friend.count({'age':24}) 增加查询条件会使count查询变慢。 2. distinct:找出给定键的所有不同的值。 使用时必须指定集合和键: db.runCommand({'distinct' 阅读全文
posted @ 2020-01-10 10:09 MR_黄Python之路 阅读(2911) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 26 下一页