随笔分类 - python
摘要:error: command '/usr/bin/gcc' failed with exit code 1 error: #error This file requires compiler and library support for the ISO C++ 2011 standard. Thi
阅读全文
摘要:https://docs.python.org/zh-cn/3.7/library/typing.html https://www.python.org/dev/peps/pep-0483/ https://www.python.org/dev/peps/pep-0484/
阅读全文
摘要:_bz2 build Failed 在使用从源码构建的bzip2时,若出现如下错误 building '_bz2' extension gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
阅读全文
摘要:openstackclient启动顺序 在openstackclient.shell:main openstackclient.shell.OpenStackShell.init() osc_lib.shell.OpenStackShell.__init__() cliff.app.App.__in
阅读全文
摘要:在/etc/ssh/ssh_config中添加远程服务器支持的cipher 如Ciphers aes128-cbc,3des-cbc,aes128-ctr 连接时指定ssh配置文件 from pexpect import pxssh client = pxssh.pxssh() clinet.log
阅读全文
摘要:yum install readline readline-devel readline-static -y yum install openssl openssl-devel openssl-static -y yum install sqlite-devel -y yum install bzi
阅读全文
摘要:The following is a list of all the format codes that the C standard (1989 version) requires, and these work on all platforms with a standard C impleme
阅读全文
摘要:原理 flask-login使用的是客户端侧的session来存储用户的登录信息,在验证用户的登录状态时通过调用load_user(userid)用user的id来获得user对象,当通过id无法找到对应的user时即判定用户未登录。我们可以通过一个token来替换这个id,改写user的get_i
阅读全文
摘要:转化时间戳 time.strftime("%Y-%m-%d %H:%M:%S",time.localtime(int(data["starttime"]))) 多线程queue docstring https://www.datacamp.com/community/tutorials/docstr
阅读全文
摘要:安装unixODBC 使用pyodbc需要Linux上安装unixODBC 可使用yum或apt安装unixODBC-devel包 编译安装:http://www.unixodbc.org/download.html 安装成功验证 安装连接驱动 unixodbc中没有自带连接sqlserver的驱动
阅读全文

浙公网安备 33010602011771号