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

Any tips for new coders?

I'm new to Python and coding in general, any tips for beginners?

Caleb Kemp
Caleb Kemp
12,755 Points

Well, here are a few ideas that you may find useful.

  1. I remember when I first started coding, and a big challenge for me was syntax. All it takes is just one mistyped character to kill your entire program. So, if your having a problem, often checking for typos and misplaced braces "{" is a good place to start.

  2. If you get stuck on a problem, and it's giving you trouble, try looking up the error online. Chances are someone else has encountered it as well and they might have an idea how to fix it.

  3. Sometimes the challenges are a little buggy, sometimes they need to be formatted in a particular way. Understand that, and don't let it get you frustrated. If a particular challenge is giving you trouble, try searching the community forum. If a challenge really is a problem, chances are good someone has already posted about it.

  4. If you don't understand something don't feel bad about asking for help

Hope that helps.

Callum Anderson
seal-mask
.a{fill-rule:evenodd;}techdegree
Callum Anderson
Data Analysis Techdegree Student 10,200 Points

One thing that helped me was setting up an IDE (Internal Development Environment) and choosing one that you know you feel the most comfortable on, some have greater strengths than others and it all depends on what you're looking to do currently and in the future for instance I chose PyCharm as there's a free version and very comfy in Python.

IDEs give you a lot of freedom and help you out with things you might miss with syntax, along with getting you closer and closer to some experience using Git/ GitHub for when you start to put your work online!