报错:UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x80 in position 20: illegal multibyte sequence
https://juejin.cn/post/6989584843805818887
https://juejin.cn/post/6989584843805818887
juejin.cn
报错:UnicodeDecodeError: ‘gbk‘ codec can‘t decode byte 0x80 in position 20: illegal multibyte sequence
翻译过来大致意思就是:gbk编码器不能解码位置在20的字节0x80:非法多字节序列。原因显而易见,with open打开文件的时候没有指定编码格式,默认使用了gbk,所以导致此次报错。
Django分页功能警告:UnorderedObjectListWarning: Pagination may yield inconsistent results...
https://juejin.cn/post/6989584966627622949
https://juejin.cn/post/6989584966627622949
juejin.cn
Django分页功能警告:UnorderedObjectListWarning: Pagination may yield inconsistent results...
在views.user_queryset = User.objects.only('username', 'is_active', 'mobile', 'is_staff', 'is_superuser').groups = Group.objects.only('name')....
报错:elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection ob
https://juejin.cn/post/6989585110442410020
https://juejin.cn/post/6989585110442410020
juejin.cn
报错:elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection ob
使用docker ps -a查看所有的容器; docker start es-ik启动放有es的容器; curl http://0.0.0.
[LeetCode]#1941. Check if All Characters Have Equal Number of Occurrences
https://donic0211.medium.com/leetcode-1941-check-if-all-characters-have-equal-number-of-occurrences-3f0565096c7c
https://donic0211.medium.com/leetcode-1941-check-if-all-characters-have-equal-number-of-occurrences-3f0565096c7c
Medium
[LeetCode]#1941. Check if All Characters Have Equal Number of Occurrences
Environment: Python 3.8
Quick ETL With Python Part 2 : Modify and Upsert Table into SQL
https://medium.com/@chanon.krittapholchai/quick-etl-with-python-part-2-modify-and-upsert-table-into-sql-a192a6b81ad4
https://medium.com/@chanon.krittapholchai/quick-etl-with-python-part-2-modify-and-upsert-table-into-sql-a192a6b81ad4
Medium
Quick ETL With Python Part 2 : Modify and Upsert Table into SQL
Upsert Table into SQL with Python
Robotframework browser automation tools — a review for 2021
https://eldadu1985.medium.com/robotframework-browser-automation-tools-a-review-for-2021-29a0835f437d
https://eldadu1985.medium.com/robotframework-browser-automation-tools-a-review-for-2021-29a0835f437d
Medium
Robotframework browser automation tools — a review for 2021
In a previous article I discussed the benefits of robotframework and given an example of how easily you can extend robotframework using…
Add Watermark on Images In Python Using OpenCV
https://ahindas.medium.com/add-watermark-on-images-in-python-using-opencv-b2d0458c674b
https://ahindas.medium.com/add-watermark-on-images-in-python-using-opencv-b2d0458c674b
Medium
Add Watermark on Images In Python Using OpenCV
by ahin subhra das