This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 🚀效率工具 | |
· **[Abroad资源文件代理下载](http://download.gaodb.com)** | |
· [时间戳转换](https://tool.lu/timestamp/) | |
· [日期计算](http://bjtime.cn/riqi/) | |
· [JSON格式化](https://www.bejson.com/jsonviewernew/) | |
· [JSON转EXCEL下载](https://wejson.cn/json2excel/) | |
· [在线unicode编码](http://www.jsons.cn/unicode) | |
· [favicon](https://www.aconvert.com/cn/icon/png-to-ico/) **|** [在线favicon制作一](http://favicon.madjs.com/) **|** [在线favicon制作二](https://tool.lu/favicon) | |
· [HTML在线编辑](https://c.runoob.com/front-end/61/) | |
· ~~Everything(Windows文件搜索工具) [下载](https://www.voidtools.com/zh-cn/)~~ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```python | |
import psycopg2 | |
import psycopg2.extras | |
dbconfig = { | |
"host": "host", | |
"user": "username", | |
"password": "password", | |
"database": "dbname", | |
"port": port |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
**获取当前月1号日期** | |
```python | |
import datetime | |
print(datetime.datetime.now().replace(day=1).strftime("%Y-%m-%d")) | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
![微信图片_20210527140051.jpg](data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAYEBQYFBAYGBQYHBwYIChAKCgkJChQODwwQFxQYGBcUFhYaHSUfGhsjHBYWICwgIyYnKSopGR8tMC0oMCUoKSj/2wBDAQcHBwoIChMKChMoGhYaKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCj/wAARCALQBQADASIAAhEBAxEB/8QAHQAAAQUBAQEBAAAAAAAAAAAAAwECBAUGAAcICf/EAEkQAAEDAwMCBAMHAwIFAwICCwEAAgMEESEFEjFBUQYTImEycYEHFCNCUpGhscHRM2IVJENy4VOC8BYlNJImNURUc4Oi8WOTwv/EABoBAAMBAQEBAAAAAAAAAAAAAAABAgMEBQb/xAAwEQACAgICAgEEAQIGAgMAAAAAAQIRAyESMUFRBBMiMmFxQoEFFCORsfBSoTPB0f/aAAwDAQACEQMRAD8A8AXLly6jEIw3aFcxHfRxkc2sVSRusCFcac/fSPb+k3Sb0C7GOHRMsjOFihuCno07AlMcjOQiEAR3hCfgWR3oMiTBEPynF5vwjNbbgJ3X5IMkt3enhR+iXbYYNF7OS1jQILN6ZTI5gRaT90R5aW+t12+3VXqgWmVjbHjdfsjsgkdn4R/uRvMYwWjYB79UNz3O5JKm0X2MnYGAWeXHqo7ibco8lyEEi4QAPPUpU4BPDB1SoLBi56p7NwOeE444SG/VHQCudZD3FKlsmwGEnuU3PdE2ppspCxM3XWPVOv7JCgLGhOvZNTiE7AUOKS5K69kosUxHJruebJ3VI9Azm3P5ingdkxPz0UgPjJDxbplaymLXRtsLY6LJxG7srY6fCyWiY+F1n2uWlWlaBOmGjADgQjTVMVQ7y6mNp7OAQZWSRs3OaQO6js9T9yabWi6vZKdpjXMJpntJ/SoUkEkTrStLSpIJu |