Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Python Basics Types and Branching Strings and Operators

backslash does not work mac keyboard

I am using a Mac Keyboard and the backslash does not work. I get "(arg: 7)" instead of the backslash. None of the shortcots containing (option + shift + number) do work. Can I change that in workspace? thx

2 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Luca Gerosa! It sounds like you're having the same problem I had when I lived in Sweden and was working with a Swedish keyboard. Workspaces use the "US qwerty" keyboard and there is no way to change that in the workspaces.

I was using a Windows for the most part, so I could use "alt codes", but that won't be the case for your Mac. When I used a Mac together with workspaces, I had to change the keyboard settings on my Mac to be US qwerty while I was using workspaces.

Hope this helps! :sparkles:

Hi Jennifer Thanks for your reply. I checked your advice and changed my keyboard settings but I am not yet sure with which keyboard I will proceed :)

Anyway, much thanks for your help