摘要:
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_ 阅读全文
摘要:
{ "window.zoomLevel": 0, "[python]": {}, "kite.showWelcomeNotificationOnStartup": false, "python.pythonPath": "E:\\miniconda\\envs\\envapp\\python.exe 阅读全文
摘要:
from datetime import date, datetime, timedelta import time import pandas as pd from pandas.tseries.offsets import Hour, Minute, Second print(time.loca 阅读全文
摘要:
def list_of_groups(init_list, childern_list_len): ''' :param init_list: :param childern_list_len: :return: ''' list_of_group = zip(*(iter(init_list),) 阅读全文
摘要:
Compare this, without using nonlocal: x = 0def outer(): x = 1 def inner(): x = 2 print("inner:", x) inner() print("outer:", x) outer()print("global:", 阅读全文
摘要:
下载源码编译安装openssl https://www.openssl.org/source/openssl-1.0.2j.tar.gz ./config --prefix=/usr/local/openssl ./config -t ./make && make install 下载源码编译安装p 阅读全文
摘要:
先编译安装你需要的Python版本:参考https://www.cnblogs.com/zxpo/p/10011871.html python3.6安装在:/usr/bin/python3.6目录下: 一个项目对应一个 Pipfile,支持开发环境与正式环境区分。默认提供 default 和 dev 阅读全文
摘要:
export PIPENV_VENV_IN_PROJECT=1pipenv --venvpipenv --where pipenv install -r requirements.txtpipenv install -r dev-requirements.txt --devpipenv lock - 阅读全文
摘要:
转成字典a = ['key1', 'key2', 'key3']b = ['1', '2', '3']data = pd.DataFrame(zip(a, b), columns=['project', 'attribute'])print(data)dict_country = data.set_ 阅读全文
摘要:
# 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 阅读全文