Python Python Basics (2015) Python Data Types Lists

Why can't I type brackets or curly brackets in workspace?

Whenever I try to type brackets or curly brackets in work space I dont get what I want but instead I get parenthesis with arg: written in it. Like this (arg:89) I can't do any special characters. I just get (arg: and then the actual number. Does anybody know why this happens?

8 Answers

Ranko Milic
PRO
Ranko Milic
Pro Student 1,768 Points

I have the same problem. But I suppose this is because I use a non-US keyboard and maybe the workspace has issues with recognizing different special characters at different keyboard places...

I had the same problem in Workspaces. So, I decided to use the terminal instead. Here is how to do this:

1) Go to https://www.python.org/downloads/ 2) Download and install latest version 3) Open terminal in Mac -- then you can just type Python and use as you would in Workspaces.

Jason Anders
MOD
Jason Anders
Treehouse Moderator 144,813 Points

Hi Aris,

I haven't actually come across that problem, but that sounds like something you direct to the Treehouse Support Team.

Hope it resolves quickly. :smiley:

Hi Jason

Thx for your answer. Will do that. :)

Isaac Al-Wahaibi
Isaac Al-Wahaibi
6,273 Points

i was using curly braces and i use to have a problem, then i notice that the instructor is using square braces

so try using the square brace maybe this will solve your problem

Benedikt Sauer
Benedikt Sauer
1,836 Points

I only have this problem if I'm typing in the console. It works fine in the section above, for the script.

The only place where I can't write backslash \, brackets [] or {} is in the workspace. It does work in the challenge window that appears after a video.

To change language on my keyboard is not a solution. It takes to much time to learn a new keyboard layout without even having the signs on my keyboard. For example underscore is altgr and the plus(+)-sign with the US-layout on my Swedish keyboard.

Can't Teamtreehouse find a solution for this?

Tamás Németh
PRO
Tamás Németh
Pro Student 473 Points

I have the same isse, using win 10 and hungarian keyboard. It is really annoying. Fix the problem, please.