1 2 3 4 5 ··· 16 下一页
摘要: 1、找不到sdk文件夹 下载地址: http://download.videolan.org/pub/videolan/vlc/3.0.9.2/win32/ vlc-3.0.9.2-win32.7z 一定要下载.7z文件包,zip里是没有sdk文件夹的。 2、 “libvlc_media_read_ 阅读全文
posted @ 2020-05-08 11:08 zxpo 阅读(2382) 评论(0) 推荐(2) 编辑
摘要: { "window.zoomLevel": 0, "[python]": {}, "kite.showWelcomeNotificationOnStartup": false, "python.pythonPath": "E:\\miniconda\\envs\\envapp\\python.exe 阅读全文
posted @ 2019-11-13 11:05 zxpo 阅读(921) 评论(0) 推荐(0) 编辑
摘要: from datetime import date, datetime, timedelta import time import pandas as pd from pandas.tseries.offsets import Hour, Minute, Second print(time.loca 阅读全文
posted @ 2019-11-12 19:32 zxpo 阅读(12472) 评论(0) 推荐(0) 编辑
摘要: def list_of_groups(init_list, childern_list_len): ''' :param init_list: :param childern_list_len: :return: ''' list_of_group = zip(*(iter(init_list),) 阅读全文
posted @ 2019-11-12 18:23 zxpo 阅读(3264) 评论(0) 推荐(0) 编辑
摘要: Compare this, without using nonlocal: x = 0def outer(): x = 1 def inner(): x = 2 print("inner:", x) inner() print("outer:", x) outer()print("global:", 阅读全文
posted @ 2019-08-07 10:58 zxpo 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 下载源码编译安装openssl https://www.openssl.org/source/openssl-1.0.2j.tar.gz ./config --prefix=/usr/local/openssl ./config -t ./make && make install 下载源码编译安装p 阅读全文
posted @ 2019-06-24 18:07 zxpo 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: 先编译安装你需要的Python版本:参考https://www.cnblogs.com/zxpo/p/10011871.html python3.6安装在:/usr/bin/python3.6目录下: 一个项目对应一个 Pipfile,支持开发环境与正式环境区分。默认提供 default 和 dev 阅读全文
posted @ 2019-06-18 17:50 zxpo 阅读(414) 评论(0) 推荐(0) 编辑
摘要: export PIPENV_VENV_IN_PROJECT=1pipenv --venvpipenv --where pipenv install -r requirements.txtpipenv install -r dev-requirements.txt --devpipenv lock - 阅读全文
posted @ 2019-05-06 19:20 zxpo 阅读(7760) 评论(0) 推荐(0) 编辑
摘要: 转成字典a = ['key1', 'key2', 'key3']b = ['1', '2', '3']data = pd.DataFrame(zip(a, b), columns=['project', 'attribute'])print(data)dict_country = data.set_ 阅读全文
posted @ 2019-04-18 16:53 zxpo 阅读(2577) 评论(0) 推荐(0) 编辑
摘要: # XLS转CSV df = pd.read_excel(r'列表.xls') df2 = pd.DataFrame()df2 = df2.append(list(df['列名']), ignore_index=True) df2.dropna(inplace=True) print(df2)df2 阅读全文
posted @ 2019-04-18 16:47 zxpo 阅读(1731) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 16 下一页