摘要: 1.依次输入这三条命令: sudo apt-get install mysql-serve sudo apt install mysql-client sudo apt install libmysqlclient-dev 在安装过程需要设置数据库密码 2.输入如下命令进行检验是否安装mysql成功 阅读全文
posted @ 2019-01-03 22:10 槛外人666 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 转载于http://www.linuxdiyf.com/linux/24260.html 1、开始需要我们做的是先在我们的ubuntu下安装好samba: 安装samba:sudo apt-get install samba 安装smbclient:sudo apt-get install smbc 阅读全文
posted @ 2018-12-10 01:15 槛外人666 阅读(1259) 评论(0) 推荐(0) 编辑
摘要: master -> master (non-fast-forward) 阅读全文
posted @ 2018-12-08 15:22 槛外人666 阅读(159) 评论(0) 推荐(0) 编辑
摘要: # bytes object b = b"example" # str object s = "example" # str to bytes bytes(s, encoding = "utf8") # bytes to str str(b, encoding = "utf-8") # an alternative method # str ... 阅读全文
posted @ 2018-11-19 00:53 槛外人666 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 首先,Base64生成的编码都是ascii字符。 其次,python3中字符都为unicode编码,而b64encode函数的参数为byte类型,所以必须先转码。 阅读全文
posted @ 2018-11-19 00:51 槛外人666 阅读(40155) 评论(2) 推荐(2) 编辑
摘要: pip3升级后出错 阅读全文
posted @ 2018-11-17 16:07 槛外人666 阅读(827) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install libsdl1.2-dev 阅读全文
posted @ 2018-11-17 15:58 槛外人666 阅读(4162) 评论(0) 推荐(0) 编辑
摘要: ubuntu16.04、python3.6、pip3、ipython 阅读全文
posted @ 2018-11-16 23:30 槛外人666 阅读(250) 评论(0) 推荐(0) 编辑
摘要: sudo apt-get install ipython3 阅读全文
posted @ 2018-11-16 16:33 槛外人666 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 安装 sudo apt-get install python3-pip 升级 sudo pip3 install --upgrade pip 卸载 sudo apt-get remove python3-pip 阅读全文
posted @ 2018-11-16 10:46 槛外人666 阅读(865) 评论(0) 推荐(0) 编辑