Strava
摘要: os.path.abspath(__file__) 作用: 获取当前脚本的完整路径 import os print(os.path.abspath(__file__) ) result: 注意: 只有当在脚本中执行的时候,os.path.abspath(__file__)才会起作用,因为该命令是获取 阅读全文
posted @ 2020-09-13 19:33 cheflone 阅读(4054) 评论(0) 推荐(0) 编辑
摘要: 1.情况 mac os mysql 8 pycharm2018 2.解决 在网上查询后都是pymysql版本问题:pymysql.err.InternalError: (1043, 'Bad handshake') 大多是这样的:旧的pymysql插件支持新的MySQL的连接了。 python -m 阅读全文
posted @ 2020-09-13 19:31 cheflone 阅读(668) 评论(0) 推荐(0) 编辑