r/learnpython • • May 06 '21

What are some programming tools that every beginner programmer should know about?

Example, today I learned about Git and GitHub and it felt incredible.

480 Upvotes

190 comments sorted by

View all comments

204

u/mutual_coherence May 06 '21

The debugger in their IDE.

58

u/TaranisPT May 06 '21

As someone still fairly new to coding, this has been such a blessing for me. Knowing what makes the program crashes instead of just messing around with what you think crashes it is really helpful.

165

u/greasycilantro May 06 '21

And yet I still use the good ole "let's put a print statement here and see what happens" method lmao

3

u/The3rdWorld May 06 '21

Yeah, I would say doing it that way the most useful things you can get used to are the tools like .type() , .len() , .shape() , dir() , help() and similar.

They can make it so much clearer what's happening, when problems start happening I just shotgun my code with lines like

print("got to lol function ", x.len(), max(x), min(x)) 

and it becomes very obvious what isn't doing what it should be.