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 trialAndy McDonald
Python Development Techdegree Graduate 13,801 PointsWhy is she using RegEx? Why wouldnt she just use strptime?
I'm really confused as to why she is not just making a datetime object with strptime in the database project video.
1 Answer
Megan Amendola
Treehouse TeacherHi! That's the way my brain solved the problem at the time. There's never one right way to code a project but I highly encourage tweaking any projects you work through to put your own spin on them especially if you're going to use them as portfolio pieces to share with potential employers. If it makes more sense to you right now to use strptime
, then go for it! I think that's a great idea.
Chris Freeman
Treehouse Moderator 68,441 PointsChris Freeman
Treehouse Moderator 68,441 PointsThatβs a great question. π€·ββοΈ