会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
darling
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
24
下一页
2021年10月22日
python汉字转拼音&创建Excel
摘要: python 时间格式化 print(str(datetime.datetime.now().strftime("%Y-%m-%d %X"))) print(str(datetime.datetime.now().strftime("%Y-%m-%d %H%M%S"))) List和元组添加元素 l
阅读全文
posted @ 2021-10-22 23:30 darling331
阅读(156)
评论(1)
推荐(1)
2021年10月7日
Python 将汉字转为拼音
摘要: 生成不带声调的 import pypinyin # 将汉字转为拼音 def pinyin(word): s = '' for i in pypinyin.pinyin(word, style=pypinyin.NORMAL): s += ''.join(i) return s if __name__
阅读全文
posted @ 2021-10-07 16:18 darling331
阅读(505)
评论(0)
推荐(0)
2021年10月3日
Mysql必知必会-笔记
摘要: order by 排序 如果不排序, 数据一般将以它在底层表中出现的顺序显示。这可以是数据最初添加 到表中的顺序。但是,如果数据后来进行过更新或删除,则此顺序将 会受到MySQL重用回收存储空间的影响。因此,如果不明确控制的话, 不能(也不应该)依赖该排序顺序。关系数据库设计理论认为,如果 不明确规
阅读全文
posted @ 2021-10-03 23:28 darling331
阅读(142)
评论(0)
推荐(0)
2021年9月26日
Python 执行javaScript代码
摘要: 引入第三方包 pip install PyExecJS -i https://mirrors.aliyun.com/pypi/simple/ 或者 pip insyall PyExecJS 调用js文件进行方法执行 import execjs Passwd = execjs.compile(open
阅读全文
posted @ 2021-09-26 17:54 darling331
阅读(262)
评论(0)
推荐(0)
2021年9月21日
screw简单生成数据库说明文档
摘要: 创建一个maven项目 在pox.xml文件配置如下信息 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20
阅读全文
posted @ 2021-09-21 11:32 darling331
阅读(174)
评论(0)
推荐(0)
2021年9月18日
将阿里云盘挂载到本地电脑作为磁盘使用
摘要: 第一步 需要一个阿里云网盘账户 如果没有账户的可以通过以下链接获取 我在使用不限速「阿里云盘」,赠送你 500GB 快来试试吧 点此链接领取福利: https://pages.aliyundrive.com/mobile-page/web/beinvited.html?code=bba50fd 第二
阅读全文
posted @ 2021-09-18 19:44 darling331
阅读(4739)
评论(0)
推荐(0)
Python 发送邮件提醒
摘要: 基于Smtplib 进行邮件发送 # -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText from email.header import Header from email.utils import p
阅读全文
posted @ 2021-09-18 11:45 darling331
阅读(279)
评论(0)
推荐(0)
2021年9月16日
Python 定时计划任务
摘要: 第一种 sleep 睡眠线程 import time # 每n 秒执行一次 def timer(n): while True: print(datetime.now().strftime("%Y-%m-%d %H:%M:%S")) time.sleep(n) 第二种 threading模块中的Tim
阅读全文
posted @ 2021-09-16 18:01 darling331
阅读(243)
评论(0)
推荐(0)
Python 开发中遇到的问题笔记
摘要: 请求一个附件地址,并将附件下载下来 import requests url = 'https://js.shaanxi.gov.cn/userfiles/2021-Year/8-Month/31-Day/附件:8-2三类人员跨省变更人员名单.xls' res = requests.get(url)
阅读全文
posted @ 2021-09-16 14:18 darling331
阅读(281)
评论(0)
推荐(0)
2021年8月27日
IDEA &Pycharm 2020.3.3 自动重置免费30天
摘要: Intel J IDEA 插件市场安装 添加第三方插件仓库地址 在Settings/Preferences... → Plugins 内手动添加第三方插件仓库地址:https://plugins.zhile.io 搜索:IDE Eval Reset插件进行安装。如果搜索不到请注意是否做好了上一步?网
阅读全文
posted @ 2021-08-27 13:09 darling331
阅读(4597)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
24
下一页
公告