Python Python Basics Types and Branching Strings and Operators

Luca Gerosa
Luca Gerosa
447 Points

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:

Luca Gerosa
Luca Gerosa
447 Points

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