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 (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
PLUS
Ranko Milic
Courses Plus 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 145,860 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. :)

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
PLUS
Tamás Németh
Courses Plus Student 473 Points

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