I'm programming in Python and "\n" doesn't work, what do?
Using a mac has nothing to do with this. Install a newer version of python like a logical fucking being, especially since it looks like you don't have to deal with version compatibility considering you can't even understand the new line character.
In python 3, you would type print("\n") to form a new line. This works. the backslash \ indicates an escape sequence where a special character follows (in this case the new line character 'n').
In python 2, I believe you would have to type print "hello world\n" with no parentheses.
You don't need single apostrophes or any of that shit. Just make sure to stay consistent. You can type print('hello world') and it will work. Python automatically interprets all variables as strings. If you use a single apostrophe before, don't use quotes later.
Also upload your full code next time.
They are. He's full of shit.
The only real reason to use one over the other is if you want a string with quotes in it and you don't want to use an escape or raw literal.
That, and preference.
1- Both python 2 and 3 support print("shit")
2- It does matter, because osx uses different line endix, so if you move a textfile to your mac you may run unto compatibility shit.
This though, should be in /sqt/ and have code so I'm not going to explain how you can fix it