i1_tsq
Last Updated: October 13, 2016
·
109
· debbora
2015 06 30 14.03.57

Debugging in Python

Console

  • dir(10): will list off all the methods you can call for an integer.
  • help(10): will list it's class help and its available methods.

Both methods above, also works without arguments:
- dir()shows built-in methods
- help() opens an interactive help, very usefull.

Say Thanks
Respond