Search⌘ K
AI Features

Do It Yourself - Exercise

Explore how to create a script that prints the current date and time including timezone, then write a Dockerfile to build an executable container. Understand the use of the pytz library for timezone handling and how to build and run Docker images that output timestamps on execution.

We'll cover the following...

In the first exercise, we created a script that will print the current time and then we modified it to print the current date.

In this exercise, we will proceed with that. If you have those files with you, that’s great. If not, don’t worry. You can create it again. So, let’s proceed with a note. ...