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 trial

Python Dates and Times in Python (2014) Dates and Times Dating Methods

trptime() instead of strptime()

At time 5:35 in the video you enter trptime() instead of strptime() and still it works. I tried searching for the trptime() but found nothing. Is there a function like trptime() or is a python glitch?

2 Answers

Vittorio Somaschini
Vittorio Somaschini
33,371 Points

Hello Saurabah.

I have checked the video and it is just a matter of visualization on the workspace console. In fact that is strptime() and not trptime().

It just happens sometimes on the console when you edit the command line at some point, the following characters are not displayed unless unless you move the text cursor over them.

;)

Vittorio

Oh.....my bad then. I failed to realize that.

Thanks for your prompt reply.