Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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,540 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.