On 12/7/2019 1:56 PM, RobH wrote:

        current_time = time.strftime("%I:%M")<<< stays at this line
in an interactive Python interpreter ?

In IDLE on Windows with 3.7 and 3.9, time.strftime runs fine.

>>> import time
>>> time.strftime("%I:%M")
'11:48'
>>> current_time = time.strftime("%I:%M")
>>> current_time
'11:48'

--
Terry Jan Reedy


--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to