1:HTML: <!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>在线客服系统</title></head><body>{% comment %} 热键 {% endcomment %}<input type="t Read More
posted @ 2020-07-27 10:31 PythonNew_Mr.Wang Views(315) Comments(0) Diggs(0)
import time def run(coroutine): try: print("11") coroutine.send(None) except StopIteration as e: print("e.value",e.value) return e.value async def asy Read More
posted @ 2020-07-26 17:19 PythonNew_Mr.Wang Views(1389) Comments(0) Diggs(0)
问题: selenium.common.exceptions.WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\c Read More
posted @ 2020-06-14 12:06 PythonNew_Mr.Wang Views(258) Comments(0) Diggs(0)
1:Android Studio 下载 安装后创建项目(目的只是为了安装SDK) 2: 下载SDK与Appium安装(执行手机程序) 3:下载后,配置SDK ANDROID_HOME后面跟上对应的安装文件夹 配置path路径 Appium安装我就不详细说明了,百度一下,官网下载最新版本,安装即可 C Read More
posted @ 2020-05-31 23:48 PythonNew_Mr.Wang Views(550) Comments(0) Diggs(0)
1:公式 2:实例 2-1:实例文章标题 2-2:每个关键词出现的次数(人为分辨) 2-3:S = T*S*D(也就是上面这个图的分解,公式分辨) 2-4:得出的二维图:(这里做下解释。如果两个文章的夹角越小,那么这两个文章越相似) 2-5:计算相似度:向量模型 (将原始数据降为二维空间的数值,再进 Read More
posted @ 2020-05-26 17:05 PythonNew_Mr.Wang Views(401) Comments(0) Diggs(0)
""" user_ud 用户ID order_dt: 购买日期 order_products: 购买产品数 order_amount: 购买金额 """ import pandas as pd import numpy as np import matplotlib.pyplot as plt pd Read More
posted @ 2020-05-24 12:41 PythonNew_Mr.Wang Views(500) Comments(0) Diggs(0)
1:序列化获取数据的接口设计 1:分页获取序列化数据 2:是个能传参数的接口 class Society(APIView): def post(self, request): keywords = str(request.data.get("keywords")) data = {} try: s_ Read More
posted @ 2020-05-20 17:09 PythonNew_Mr.Wang Views(713) Comments(0) Diggs(0)
1:导入element <!-- 引入样式 --> <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> <!-- 引入组件库 --> <script src="https://cd Read More
posted @ 2020-05-18 21:29 PythonNew_Mr.Wang Views(2760) Comments(0) Diggs(0)
<div style="float:right;" id="hub_iframe"></div> <script type="text/javascript"> function async_load() { i.scrolling = "no"; i.frameborder = "0"; i.bo Read More
posted @ 2020-05-18 15:16 PythonNew_Mr.Wang Views(390) Comments(0) Diggs(0)
# 在列表页显示的字段,默认会显示所有字段,有对应的方法可以重写list_display = ('__str__',)# 在列表页显示的字段中,可以链接到change_form页面的字段list_display_links = ()# 右侧的筛选,必须是字段,可以继承自SimpleListFilte Read More
posted @ 2020-05-17 19:44 PythonNew_Mr.Wang Views(489) Comments(0) Diggs(0)