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 trialTal Reznic
4,633 PointsPython basics
Am trying to excute help(str), some hint anyone?
2 Answers
Andreas cormack
Python Web Development Techdegree Graduate 33,011 PointsHi Tal
you need to specify what method of the string class you want help on, so say for example you want to know more about the center method of the string class you would type
help(str.center)
Kenneth Love
Treehouse Guest TeacherWhat problem are you having with help(str)
?
Tal Reznic
4,633 PointsSolved the problem , i guess i misunderstood the question , my bad.
Kenneth Love
Treehouse Guest TeacherKenneth Love
Treehouse Guest Teacherhelp(str)
is perfectly valid, though.Tal Reznic
4,633 PointsTal Reznic
4,633 PointsThanks for clearing that for me
Andreas cormack
Python Web Development Techdegree Graduate 33,011 PointsAndreas cormack
Python Web Development Techdegree Graduate 33,011 Pointsthats true. my explanation was more in relation to the quiz assuming he was typing in help(str) instead of help(str.center). ohh well any hoo got there in the end.