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 (Retired) Shopping List Lists

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

My "Alt Gr - square bracket" function is doing odd things

Hi

In Workbench I want to write a lists but for some odd reasons my "Alt Gr - square brackets" are not working. Instead of opening and closing the brackets, it delets the previous command.

So: Alt Gr & 8 delets and Alt Gr & 9 jumps on, no square opening and closing brackets.

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

It seems to be a Workspace problem. I have tried my keyboard on windows words and everything works fine

Gunhoo Yoon
Gunhoo Yoon
5,027 Points

You probably need to contact teamtreehouse if you would so desire to work in workspace. It could be a bug from un-handled key type. However, you can simply use better Python3 IDLE or text editor of your choice.

Ismail KOร‡
Ismail KOร‡
1,748 Points

http://www.alt-codes.net/ check this site and look at alternative way to write symbols

2 Answers

Kenneth Love
STAFF
Kenneth Love
Treehouse Guest Teacher

Hey Andreas Ragnar Hansen, our emulator doesn't always work with all keyboard layouts. We've specifically tested and fixed problems with several layouts but, apparently, the Danish one isn't one of those.

I'm not actually sure of a good solution, but is it possible for you to use a different keyboard layout while on Treehouse?

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I checked and we also already have an issue filed for this, so hopefully we're able to fix it in the next phase of Workspace enhancements and bug fixes.

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

Hi all I have now installed a local python environment which is totally awesome and of course all bracket issues are gone with it. But for the sack of learning I really like to challange myself with the questions after each lesson. I hope you can fix the problem. I'll give the different keyboard layout a try and will report back.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

I am sorry to even type this, but as a workaround until we are able to fix this issue, can you copy and paste the brackets from somewhere else for use in your code challenges?

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

I can't.. Ctrl+ V function is not working. I don't get any paste response the cursor is just moving on and leaves an empty field.

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Oh my - I'm very sorry! How about File -> Copy/Paste? I'm just hoping we can find a way to let you proceed and get Code Challenge credit in the immediate-term.

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

My on screen keyboard hasnยดt got a square bracket, but my suggestion is to install a US keyboard layout and then lets see what will happen. I'll get back to you.

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

I fixed the problem :-) I have installed the US keyboard layout on my computer, so anytime when I'm writing codes in console I only have to switch between danish and US keyboard layouts, which is a very simple task.

Thanks for your effort...

Ben Jakuben
Ben Jakuben
Treehouse Teacher

Alright - that's a good workaround! :)

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

I am sorry but I can't work like this. The different keyboard layout works fine but all the keyboard functions are completly different than the danish one, all coding takes me too much time.

How can I quit my subscription?

Gunhoo Yoon
Gunhoo Yoon
5,027 Points

That seems like German keyboard to me. wiki

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

Hi it's a danish keyboard- I guess its multilingual. I could use all functions yesterday morning but all in the sudden the square and curly brackets stoped working.

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

I have tried from another danish computer and its the same issue, no brackets are working.

Andreas Ragnar Hansen
Andreas Ragnar Hansen
1,871 Points

Does the console proxy the danish keyboard layout translation correctly? Is there a component in the path that changes the danish key translation. Maybe something makes the key output in console incorrect. ...mmmh??