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

6 Responses to “Comments on writing Python on a MacBook”

  1. Simon Brunning Says:

    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.

  2. DeanG Says:

    Huh? Which model?
    http://www.everymac.com/systems/apple/macbook/faq/macbook-how-keyboard-feels.html

  3. Andy Todd Says:

    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/

  4. neveratoss Says:

    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.

  5. Alan Green Says:

    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.

  6. Simon Brunning Says:

    No hash key, but for ยง you don’t even need to hit shift. Barking.

Leave a Reply