What does data=“@/some/path” mean in Python?
-
02-10-2019 - |
Question
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?
Solution
It's actually just a string.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow