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 trialMaija Mbenzi
2,536 PointsTrouble creating classes in Spyder
I am trying to pass the falling code in spyder however i get indentation error. What am I doing wrong?
class Thief: pass from OOP import Thief
1 Answer
Jeff Muday
Treehouse Moderator 28,720 PointsSpyder is a pretty legit Python IDE. You might want to try another Python IDE and see if your issues persist. I think it's good for developers off all levels to try out different IDEs to see which one best fits their style of programming.
Try out the Wingware personal edition or Pycharm EDU version-- both are pretty easy to set up and dedicated Python environments. Disclaimer: I am not affiliated with either company ;-) but the folks at both companies have been pretty generous to learners in offering professional grade tools for FREE!!
Treehouse has a workshop on Pycharm, but I think it is a couple versions back so your experience at installing software may dictate just jumping in an installing one of the selections I mention.
Treehouse workshop! https://teamtreehouse.com/library/pycharm
https://wingware.com/downloads/wing-personal
https://www.jetbrains.com/pycharm-edu/download/index.html
When you get a little more adventurous, try out Visual Studio Code (https://code.visualstudio.com/), an Open Source offering from Microsoft that runs on all major platforms. The reason why I say "adventurous" is that VSC takes a little more fiddling around to get the environment set up. And it can easily tackle JavaScript and other languages too. Definitely worth sitting down with VSC, a bowl of Capt'n Crunch and a computer on a rainy Saturday morning for some entertainment.
Maija Mbenzi
2,536 PointsMaija Mbenzi
2,536 PointsThanks Jeff.