风花雪月 风花雪月
2年前
Python中AES的加密和解密
可以使用Python中的cryptography库进行AES加密。首先需要安装cryptography库,可以使用以下命令进行安装:pipinstallcryptography接下来可以按照以下步骤进行AES加密:导入所需的模块。fromcryptogra
Wesley13 Wesley13
4年前
mysql事件(event)
【小结】简单案例SETGLOBALevent_scheduler1delimiter$$createdefinercurrent_usereventtest.event_table1onscheduleevery5second每隔5秒中就向table1插入当前时间
Stella981 Stella981
4年前
Jenkins+Git+Github+Python自动化化接口项目例子
环境:Linux服务器一台一、安装Jenkins参考博客:https://www.cnblogs.com/xiaokuangnvhai/p/11343003.html安装插件:PublishOverSSH二、安装Python环境参考博客:https://www.cnblogs.com/xiaokuangnvhai/p/11353014
Stella981 Stella981
4年前
Django ORM 高性能查询优化
一、QuerySet可切片使用Python的切片语法来限制查询集记录的数目。它等同于SQL的LIMIT和OFFSET子句。Entry.objects.all():5(LIMIT5)Entry.objects.all()5:10(
Wesley13 Wesley13
4年前
unittest框架,漂亮的报告BeautifulReport配置与错误截图详细解说
1.下载BeautifulReport模块下载地址:https://github.com/TesterlifeRaymond/BeautifulReport2.解压与存放路径下载BeautifulReport的完整.ZIP文件,然后解压,把整个文件包放到本地python的/Lib/sitepackages/目录下!(https://im
Wesley13 Wesley13
4年前
#ML
!(http://static.oschina.net/uploads/space/2016/0717/213025_vOFU_987833.jpg)最近写文章时参考的文章,做一个记录python操作Excel读写使用xlrd:http://www.cnblogs.com/lhj588/a
Easter79 Easter79
4年前
Tensorflow开篇:环境安装2—tensorflow1.10.0
前提已经安装pyhon环境,具体可以参考Tensorflow开篇环境安装(python3.5.2)(https://my.oschina.net/zhys513/blog/edit/863579)tensorflow官网:http://tensorflow.google.cn/(https://www.oschina.net/action/Go
Stella981 Stella981
4年前
Python简单密码加密程序,加盐(salt)md5
\python\ viewplain(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fblog.csdn.net%2Fcolourless%2Farticle%2Fdetails%2F41440963%23)copy(https://www.oschina.net/a
Stella981 Stella981
4年前
Python调用GithubAPI并进行初步的数据分析
找到一个Github 上的公开apiurl'https://api.github.com/search/repositories?qlanguage:python&sortstars(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fapi.github.com%2Fsear
Python进阶者 Python进阶者
3年前
麻烦问一下算出来后怎么写成一个csv并有标题?
大家好,我是皮皮。一、前言前几天在Python铂金交流群【红色基因代代传】问了一个Pandas处理的问题,提问截图如下:!(https://uploadimages.jianshu.io/upload_images/2623978