pyinstaller打包python成exe可执行程序,各种报错,各种坑,在次记录下 一、pyinstaller打包报错for real_module_name, six_moduleAttributeError: 'str' object has no attribute 'items' 升级版 ...
分类:
其他好文 时间:
2019-03-25 23:37:44
阅读次数:
544
首先需要导入的包中,gzip和zipfile用于文件压缩和解压缩相关;argparse用于构建命令行参数;requests用于http请求下载网络文件资源;subprocess用于运行shell命令;tqdm用于进度条显示;six包用于python2和python3的兼容,比如 from six.m ...
分类:
其他好文 时间:
2019-03-13 10:41:21
阅读次数:
178
C++ 递归遍历+判断左叶子节点,效率不高, 更多答案参考大佬解答: https://leetcode.com/problems/sum-of-left-leaves/discuss/244628/six-ways-to-solve-this-question 明天好好学习一下 ...
分类:
其他好文 时间:
2019-02-27 01:05:40
阅读次数:
176
```C++ #include #include char str[10][6] = { "zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine" }; int main(){ int i = 0, ... ...
分类:
其他好文 时间:
2019-02-24 10:40:25
阅读次数:
164
1.直接法:6:10 six ten4:30 four thirty2:40two forty2.逆读法:①半小时以内:分钟+past+小时6:10 ten past six3:20 twenty past three5:14 fourteen past five②超过半小时:(相差的)分钟+to+ ...
分类:
其他好文 时间:
2019-02-22 16:39:52
阅读次数:
266
1 #include 2 #include 3 char str[10][6] = {"zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"}; 4 int main(){ 5 int i = 0,... ...
分类:
其他好文 时间:
2019-02-21 23:19:10
阅读次数:
247
<!DOCTYPE html> <html> <body> <title>统计字符串中某个字符的个数</title> <script> var countryList=["one","two","three","four","five","six"]; var count=0; document.w ...
分类:
其他好文 时间:
2019-01-18 21:22:56
阅读次数:
203
You took a peek on Thanos wearing Infinity Gauntlet. In the Gauntlet there is a place for six Infinity Gems: the Power Gem of purple color, the Time G ...
分类:
其他好文 时间:
2019-01-15 19:08:47
阅读次数:
273
1.1 djangorestframework登录、认证和权限 1、认证与权限相关模块 # -*- coding: utf-8 -*- from django.utils import six from rest_framework.response import Response from res ...
分类:
其他好文 时间:
2018-12-15 18:40:22
阅读次数:
360
六度空间理论 发布时间: 2018年11月26日 10:17 时间限制: 1000ms 内存限制: 128M 核心思想是使用BFS对邻接表扫描6层计数。 描述 “六度空间”理论又称作“六度分隔(Six Degrees of Separation)”理论。这个理论可以通俗地阐述为:“你和任何一个陌生人 ...
分类:
其他好文 时间:
2018-12-04 20:04:09
阅读次数:
253