i know python has such a thing but cannot remember the terms or names for this. my guesses are not helping my search.
foo('\\'+'n'+'\\'+'t') -> '\n\t'
e.g having the backslash codes (any of them, not just these 2), convert them to the actual vales. this is conversion done to string literals somewhere in the python interpreter. but i have seen this before, so i know exists as a simple function call, but my searches are all failing. repr() does the reverse.
foo('\\'+'n'+'\\'+'t') -> '\n\t'
e.g having the backslash codes (any of them, not just these 2), convert them to the actual vales. this is conversion done to string literals somewhere in the python interpreter. but i have seen this before, so i know exists as a simple function call, but my searches are all failing. repr() does the reverse.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.