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操作命令

2023年9月7日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 →

近期文章

  • Windows 10 自带VPN 拨号 飞塔防火墙
  • Hyper-V三种虚拟网络类型的理解
  • sqlalchemy.exc.ObjectNotExecutableError: Not an executable object: ‘select 1’
  • nginx开启Gzip压缩
  • 系统稳定性治理最佳实践(万字长文)
2023年 9月
一 二 三 四 五 六 日
 123
45678910
11121314151617
18192021222324
252627282930  
« 4月    

  • 444
  • 83
  • 2,673
  • 11,813
  • 150,332
  • 150,332
  • 34,577
  • 10
  • 232
  • 2023年4月23日
登录
© 2023 生活在宁静的角落 • 工业和信息化部备案管理系统网站 沪ICP备14021346号-1