1、pip安装模块 pip install 模块名称 -i 安装源 pip install requests -i https://mirrors.aliyun.com/pypi/simple/ ...
分类:
编程语言 时间:
2020-01-29 19:54:11
阅读次数:
74
这是今天在安装greenlet中遇到的问题,在查找了相关问题后,可以通过修改该界面的Manage Repositories: 清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里:http://mirrors.aliyun.com/pypi/simple/豆瓣: ...
分类:
其他好文 时间:
2020-01-29 12:46:10
阅读次数:
364
In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o ...
分类:
编程语言 时间:
2020-01-29 10:50:52
阅读次数:
93
现在开始写具体实现代码 1.加载TiledMap 1 /** 2 * 创建游戏场景 3 * Create a game scene 4 */ 5 private createGameScene() { 6 let sky = this.createBitmapByName("bg_jpg"); 7 ...
分类:
其他好文 时间:
2020-01-28 23:26:13
阅读次数:
82
Mr.Lee每隔1/x s攻击一次,cpu每隔1/y s攻击一次 因为时间与答案无关,最后只看boss受到了多少次攻击 所以可以在每个人的频率上同时乘以xy 即Mr.Lee每隔y s攻击一次,cpu每隔x s攻击一次 这样看虽然时间延长但是结果不变 就可以二分查找出打败boss用时,最后再根据时间判 ...
分类:
其他好文 时间:
2020-01-28 20:50:33
阅读次数:
84
题目 Being unique is so important to people on Mars that even their lottery is designed in a unique way. The rule of winning is simple: one bets on a nu ...
分类:
其他好文 时间:
2020-01-28 19:02:09
阅读次数:
70
在前一篇中,我们着重阐述了参数的处理方法。 但是,这些参数基本都是直接赋值的。而实际的接口测试中,我们会根据需要做成很多的测试数据,这些测试数据会根据不同的情况来使用。例如,我可能需要一个能够随机生成一个中文的字符串,或者需要一个能够迅速求出一个文件或者字符串的MD5的值。在这种情况下,就需要我们动 ...
分类:
编程语言 时间:
2020-01-28 14:05:00
阅读次数:
124
Amazon Simple Storage Service (Amazon S3) 是一种面向 Internet 的存储服务。您可以通过 Amazon S3 随时在 Web 上的任何位置存储和检索的任意大小的数据。您可以使用 AWS 管理控制台简单而直观的 web 界面来完成这些任务。 bucket ...
分类:
其他好文 时间:
2020-01-28 14:02:41
阅读次数:
59
一.创建工程、导入坐标 1.选择Next 2.填写名称、选择位置、填写公司或组织、选择Finish 3.导入坐标 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xml ...
分类:
编程语言 时间:
2020-01-28 13:51:57
阅读次数:
71
1.pip通过国内源安装python包 1 pip install web.py -i http://pypi.douban.com/simple --trusted-host pypi.douban.com 如上,以安装web.py为例 ...
分类:
其他好文 时间:
2020-01-28 12:14:57
阅读次数:
52