目录: 一、模块 二、 正文: 一、模块 import 一个模块 实际上就是把一个py文件从头到尾执行一遍 执行时,查找模块顺序:首先从当前目录下找,其次从环境变量目录找 1、引用环境变量中模块 sys.path环境变量目录(list) import sys print(sys.path) 2、引用 ...
分类:
编程语言 时间:
2020-09-17 12:21:39
阅读次数:
26
面向百度,发现目标:https://www.cnblogs.com/dbj66/p/8817890.html 测试成功: 1、在安装pyaudio时,报错failed error: portaudio.h: 没有那个文件或目录2、pyaudio的运行需要依赖于portaudio这个库,应该先安装一个 ...
分类:
其他好文 时间:
2020-09-15 20:57:03
阅读次数:
66
@{ ViewBag.Title = "测试页"; Layout = "~/Views/Shared/_LayoutPage.cshtml"; } <div> 上传文件 <input type="file" id="file" /> <br /> <input type="button" id="u ...
分类:
移动开发 时间:
2020-09-14 19:00:22
阅读次数:
56
If you already have a running UI5 application and uploaded it to your Github repository, it will be very easy to host that application in Heroku with ...
分类:
其他好文 时间:
2020-09-11 14:16:02
阅读次数:
30
废话少说,上代码 结构: 1application.properties web.upload-path=G:\study_tool\maven_workspace\images#\u9759\u6001\u8D44\u6E90\u6587\u4EF6spring.resources.static- ...
分类:
数据库 时间:
2020-09-08 21:05:22
阅读次数:
66
博文大纲:一、部署dashboard的Web-UI界面二、部署weave-scope监控k8s集群三、部署Prometheus服务一、部署dashboard的Web-UI界面1、下载yaml文件配置并执行[root@master~]#wgethttps://raw.githubusercontent.com/kubernetes/dashboard/v2.0.3/aio/deploy/recomm
分类:
其他好文 时间:
2020-09-04 17:32:56
阅读次数:
61
相信小伙伴们一定遇到过这种错误, 1 八月 26, 2020 11:32:32 上午 org.apache.catalina.core.StandardWrapperValve invoke 2 严重: Servlet.service() for servlet [springmvc] in con ...
分类:
编程语言 时间:
2020-09-04 17:02:33
阅读次数:
52
设计思路:设计用例时,如果用例执行失败,则标记 xfail,所有引用该用例的其他用例,均调用该 xfail 标记 示例: # File : test_demo_16.py # IDE : PyCharm import pytest @pytest.fixture(params=[{'user': ' ...
分类:
其他好文 时间:
2020-09-03 17:08:19
阅读次数:
48
1.研究背景 在测试时发现mingw版本的gcc编译出来的程序,一个主程序新建20个线程,每个线程都循环向cout输出信息,几分钟程序就崩了,而用msvc和gcc-linaro版gcc交叉编译器编译出来的运行很久都没问题。 2.相关查询 2.1 C++ iostreams: Unexpected b ...
分类:
编程语言 时间:
2020-09-03 16:47:52
阅读次数:
55
问题 在windows下使用记事本打开deploy.sh文件,编写.sh脚本,保存后拷贝到Linux服务器上,执行后报如下错误。 [root@i-dbb1f0ff shell]# ./deploy.sh -bash:./deploy.sh:/bin/bash^M:bad interpreter:No ...
分类:
系统相关 时间:
2020-08-31 11:56:16
阅读次数:
57