My Blog
  • 首页
  • 文章分类
    phppythonjavaweblinuxwindowsetcsecurityseo逆向

分类 python 下的文章

python

python使用boto3上传文件至vultr的object storage

vultr的object storage挺香的,250GB存储,1TB流量,一个月只需要$5,因为节点的原因,国内的速度比较差,但是用一台线路好一些的VPS反代一下,还是不错的获取Secret Key和Access Key进入vult...

2020年05月08日
admin
1072
python
阅读全文

python,php 时间戳和时间之间的转换

pythonimport timestr类型的日期转换为时间戳字符类型的时间tss1 = '2013-10-10 23:40:00'转为时间数组timeArray = time.strptime(tss1, "%Y-%m-%...

2020年01月08日
admin
598
php,python
阅读全文

Django 使用 django-redis 作为缓存的正确用法,别忽略缓存的使用原则

来源:https://tendcode.com/article/django-redis-for-cache/一般的 web 服务都会设置缓存机制,特别是那些大型的服务,因为请求多,所以为了减少对数据库的查询,可以使用缓存来存储一些必...

2020年01月06日
admin
514
python,web
阅读全文

Centos7安装Python3的方法

来源:https://www.cnblogs.com/s-seven/p/9105973.html由于centos7原本就安装了Python2,而且这个Python2不能被删除,因为有很多系统命令,比如yum都要用到。[root@VM...

2020年01月06日
admin
550
python,linux
阅读全文

修改pip源

Ubuntu创建pip.config 文件mkdir ~/.pipvim ~/.pip/pip.conf添加pip源[global] index-url = http://mirrors.aliyun.com/pypi/simple/...

2019年12月11日
admin
516
python,linux,windows
阅读全文

notepad++ python

cmd /k python "$(FULL_CURRENT_PATH)" & ECHO. & PAUSE & EXIT

2019年07月12日
admin
476
python
阅读全文

supervisor.sock no such file的问题

打开配置文件vim /etc/supervisord.conf这里把所有的 /tmp 路径改掉,/tmp/supervisor.sock 改成 /var/run/supervisor.sock, /tmp/supervisord.lo...

2019年07月11日
admin
311
python,linux
阅读全文

Django - mysqlclient 1.3.13 or newer is required

Django - installing mysqlclient error: mysqlclient 1.3.13 or newer is required; you have 0.9.3/home/username/.local/s...

2019年07月11日
admin
423
python
阅读全文

python 优化利器-cProfile

检测时间消耗python -m cProfile -s cumulative cprofile_test.py-s cumulative 可按时间进行排序[root@k8s-node-1 alex]# python -m cProfi...

2019年07月05日
admin
424
python
阅读全文

Python将list形式的字符串转换为list

from ast import literal_eval mstr = "['1838', '13735', '8285', '35386']" mstr = literal_eval(mstr) print(t...

2019年07月02日
admin
626
python
阅读全文
  • 1
  • 2
  • »

博客信息

admin的头像
admin

113

文章数

0

评论数

2625天

运行天数

最新文章

  • centos7 上使用mergerfs合并多个硬盘

  • npm 设置

  • centos7 编译支持 tls 的 redis-cli

  • 定制 CentOS7 镜像

  • 安装win10的时候提示:“我们无法创建新的分区,也找不到现有分区”的解决方法

  • Centos移动/home目录空间到/根目录下

  • windows下隐藏磁盘分区

  • VMware虚拟机CentOS 7 磁盘不足扩容

  • CentOS7 使用 frp 搭建内网穿透

  • CentOS 7安装fail2ban + Firewalld防止爆破与CC攻击

文章分类

  • php11
  • python17
  • java9
  • web18
  • linux46
  • windows13
  • etc16
  • security0
  • seo0
  • 逆向0
闽ICP备2020017456号
Powered by Typecho Theme by MWordStar