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 String Methods

Can't use open curly/square brackets with ALTGR + 7/8

Hi there,

I can't use the open curly/square brackets on Windows 10 with ALTGR + 7/8. But I do can use the close square/curly brackets with ATLGR + 9/0.

I have also changed my keyboard layout form German to English, still the same problem. Maybe someone of you knows a solution to that problem.

Thanks very much in advance.

Greetz, Thommsan

3 Answers

Philipp Räse
PLUS
Philipp Räse
Courses Plus Student 10,298 Points

Keyboard malfunctions while using the Shell/Terminal/...

I had the same problem while I was in the java course.

The problem is:

Using the Shell with any other keyboard layout than EN[US] may occur some shortcuts you won't have triggered while using the EN[US] layout.

My solution was:

I switched the keyboard layout from GER to EN[US] and used it without any further problems.

It is important to select the US-Layout

Sometimes the language alters by selecting another window.

Using Windows 10 you can try the shortcut Windows-Key + Space-Bar for a quick change of your keyboard language in your preferred window, after you're having more than one keyboard languages assigned to your OS.

The shortcut for Windows 7 is Shift + ALT.

I noticed your statement, that you already switched to an English keyboard layout. But please be sure to select the correct one (US).

I hope it helps. :)

Sincerly,

Phil

Hi Phil,

thanks for your answer.

I have switched to "Englisch (Vereinigte Staaten) US Tastatur" but it still doesn|t work. As a matter of fact, with the US layout it doesn't even work with the closing curly/square brackets.

I noticed one thing, when I open the Windows Editor and type the open/closing curly/square brackets with German Layout, it works fine. When I try the same thing with EN[US] layout, one can hear a sound and nothing happens. Any ideas?

Best regards, Thommsan

Philipp Räse
Philipp Räse
Courses Plus Student 10,298 Points

I'm sorry for this question but are you're using the correct keys for the brackets?

GER --> EN[US]

  • ü --> [
  • + --> ]
  • Ü --> {
  • * --> }

I have also appended an external Link for keyboard layout.

Hi Phil,

that's the solution. Thank you so much. You have totally saved my day. So appreciated.

Best regards, Thommsan