Python

Get current time in Python

Get and display current time in Python

Interactive recipe

You can use below interactive recipe to generate code. This recipe is available in MLJAR Studio.

Python code

# Python code will be here

Code explanation

  1. Get current time using datetime package.
  2. Display current time with print method.
« Previous
Install Package