Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
mark these strings as raw. #16
Conversation
A lot of these strings contain backslashes, which are there to tell regex, or bash, to escape things, not to tell python to escape things. We should mark this explicitly so python doesn't get confused. >>> print 'hello\nworld' hello world >>> print r'hello\nworld' hello\nworld
|
Nice |
mark these strings as raw.
A lot of these strings contain backslashes, which are there to tell
regex, or bash, to escape things, not to tell python to escape things.
We should mark this explicitly so python doesn't get confused.