osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

stuck on time


On 07/12/2019 17:54, Karsten Hilbert wrote:
> On Sat, Dec 07, 2019 at 05:48:00PM +0000, RobH wrote:
> 
> What happens if your run this line:
> 
>> 		current_time = time.strftime("%I:%M")<<< stays at this line
> 
> in an interactive Python interpreter ?
> 
> (after you define "time" appropriately)
> 
> Karsten
> --
> GPG  40BE 5B0E C98E 1713 AFA6  5BC0 3BEA AC80 7D4F C89B
> 

The python code is in a terminal window or shell, and when I run it only 
the time is displayed on an oled display, with no indication elsewhere 
of anything else. No errors of any description in the shell. It just 
appears as tho the code has stalled.

Could it be the actual font I am using which is causing the stalling.