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 trialDavid Hackett
3,191 PointsSee 1:34 of this video... you have spaces set at 2 - does PEP8 not mean that it should be 4??
I am used to 2 now... 4 seems very big to me.
But if the community all use 4 as the tab length/ spaces for indent then I might as well get used to that now !
1 Answer
Matthew Carr
11,220 PointsInside of workspaces, look at the right hand side after where it tells you the line number you are on.
If you click on the number 2 (the number itself, not the word spaces), you will be able to change it to whatever value you want. The most important thing is that it is consistent throughout your file.