Comments on writing Python on a MacBook
# A hash denotes a single line comment in Python. # The hash key is very hard to find on a MacBook. # Because there isn't one. # Try Alt + 3
# A hash denotes a single line comment in Python. # The hash key is very hard to find on a MacBook. # Because there isn't one. # Try Alt + 3
May 7, 2008 at 12:02 pm
Get yourself a copy of TextMate. It’s the same keystroke to comment/uncomment in any language with that - command-/. And there’s *loads* of other good stuff in there too. The smart snippets rock.
It’s not free, but it’s worth every penny.
May 7, 2008 at 9:48 pm
Huh? Which model?
http://www.everymac.com/systems/apple/macbook/faq/macbook-how-keyboard-feels.html
May 9, 2008 at 11:11 am
Alternatively, get a Mac Book with a US keyboard. On mine the # is just shift-3. The expense of moving countries is more than made up for with the convenience of being able to put comments in your code.
And tell Simon to stick his TextMate - you want to get yourself a copy of Mac Vim - http://code.google.com/p/macvim/
May 9, 2008 at 11:18 am
Hey Andy, How are you? Still annoying the Aussies I hope. Thanks for the tip, I’ll give both a try and see how I get on. I probably won’t tell Simon to stick his TextMate though - he buys me beer so I’ll be nice to him.
As for the hash key, I reckin I might get used to the Alt + 3 thingo eventually.
May 25, 2008 at 8:39 am
Yes, Andy is annoying the Aussies. We’d like to send him back, but we’d need to send a stack of US-keyboarded Macs along with him to make sure he stays.
June 25, 2008 at 5:42 pm
No hash key, but for ยง you don’t even need to hit shift. Barking.