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 trialTafadzwa Timothy Gakaka
10,978 Pointsdates and time in python
Import the datetime library.
cant pass help
dir(datetime)
3 Answers
Jeff Muday
Treehouse Moderator 28,720 PointsI think what you are looking for is this:
import datetime
Tafadzwa Timothy Gakaka
10,978 Pointsthank you....im really dumb i see
Jeff Muday
Treehouse Moderator 28,720 PointsYou should never feel bad about asking questions of fellow students and using Google to search for answers. Most successful developers will rarely remember exact syntax, but will know general concepts and recall from experience what can be done.
We can always do a web search and find someone else who has done it before (and learn from them)!
boi
14,242 PointsYou need to lay off the medicinal weed while coding.
P.S: You got almost 9000 points, and you started roughly 2 months ago, either you are superhuman (maybe knowledgeable) or are going extremely fast without properly holding on to concepts. In the latter case, I highly discourage that, you need to focus on effort, not pace. It explains why you could not complete the first line of code, one of the most basic challenges.
A learner to another learner, keep it easy and strong.