Mac OS Mavericks Keyboard problem

I am very new to programming in Linux using Pycharm Community Edition 3.4.1 running in Linux Mint.
I'm inputting some tutorial text involving raw_input, ('What is your name ?') \n.   The backslash is ok in this application but in Pycharm I get # symbol and I can't seem to find the correct key map to use.    Futhermore, if I want the backslash in a program typing ## seems to work.

Can anybody point me in the right direction?
2 comments
Comment actions Permalink
I'm not 100% sure what you're trying to do, but you most likely want to put the \n inside the 'What is your name?' string, like this:  'What is your name?\n'

Just putting \n by itself outside of a quote is not valid Python.  If you're still not sure, maybe post your source code or a screenshot.
0
Comment actions Permalink
do you use a keyboard for Mac OS X? I use keybord assigned for Japanese so I’m not sure, If you can find ‘option’ key, try ‘option’and '¥’(or other key) simultaneous. then do you get backslash symbol?
0

Please sign in to leave a comment.