07 2024 档案
摘要:1.python返回的字符串在 utf8的c++程序中筹码 设置环境变量PYTHONIOENCODING=utf-8 把python脚本的标准输入输出改为utf8 2.命令行传入的utf8路径, 在python中用于pytorch的模型保存,会保存失败 可以用 with open("utf8_pat
阅读全文
摘要:hw_server -d -stcp::3389
阅读全文
摘要:error: unknown type name 'CFAttributedStringRef'; did you mean 'NSAttributedStringKey'? CFAttributedStringRef attrString ) CT_AVAILABLE(macos(10.5), i
阅读全文