data=“@/some/path”是什么意思在 Python 中是什么意思?

发布于 2024-09-18 19:33:29 字数 114 浏览 5 评论 0原文

这是来自我正在查看的一些代码...我认为这是某种特殊格式字符串,它将路径处的文件加载到分配给数据的二进制字符串中,但我不确定当我尝试复制它时我得到的只是一个标准字符串。或者它实际上是一个标准字符串,而我读得太多了?

This is from some code I'm looking at... I think it's some sort of special format string that loads the file at the path into a binary string assigned to data, but I'm not sure as when I try to replicate it all I get is a standard string. Or is it actually a standard string and I'm reading too much into it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南风几经秋 2024-09-25 19:33:29

它实际上只是一个字符串。

It's actually just a string.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文