Skip to content

生活在宁静的角落

  • Home
  • Linux
    • Nagios
  • Windows
    • Powershell
    • AD Domain
  • Virtual
  • Applications
    • django
    • Python
  • Storage
  • Network
  • Security
  • Work
  • Life
    • English
    • Download

Python

sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: ‘select 1’

2023年2月27日 by 加班不给钱

问题 在flask框架中连接数据库,并测试数据库是否连接成功 使用了mysql数据库和pymysql驱动 问题 … Read more

Categories Python Tags flask, mysql, pymysql, sqlalchemy

Conda操作命令

2022年3月9日 by 加班不给钱

删除环境 conda remove -n your_env_name –all 创建环境 cond … Read more

Categories Python

python-批量重命名文件

2021年7月1日 by 加班不给钱

工作需要批量修改图片文件名,但是保留文件的前几位名字,写了个简单的python 脚本,内容如下:

Categories Python

Python PDF 分页

2020年9月9日2020年9月9日 by 加班不给钱

公司有超过100页的PDF需要,每一页都成为一个单独的PDF。 人工操作比较麻烦。 利用Python 可以进行 … Read more

Categories Python, Windows

当前文件夹下PDF文件页码计数

2020年9月1日 by 加班不给钱

import PyPDF2 import time import os file_name = os.list … Read more

Categories Python Tags python, 计数
Older posts
Page1 Page2 Next →

近期文章

  • sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: ‘select 1’
  • nginx开启Gzip压缩
  • 系统稳定性治理最佳实践(万字长文)
  • wp-statistics 汉化 (设置中文)
  • nginx http 80 端口重定向到 https 443 端口
2023年 3月
一 二 三 四 五 六 日
 12345
6789101112
13141516171819
20212223242526
2728293031  
« 2月    

  • 1
  • 1
  • 2,674
  • 24,066
  • 88,475
  • 88,475
  • 15,256
  • 10
  • 230
  • 2023年2月27日
登录
© 2023 生活在宁静的角落 • 工业和信息化部备案管理系统网站 沪ICP备14021346号-1
登录
注册|忘记密码?