Display More on Python Print Module
I’m using the Python Print Module by @sdetweil and I was wondering if there’s a way to have it print multiple lines (a long paragraph) and have it auto scroll on the screen?
Right now, when my code needs to print out a paragraph, nothing will print out/display because it’s too long. So, I’m wondering I can display all that content in one shot?
Thanks in advance.
@extra-0 don’t understand, won’t display.
my code puts all the content in a div, it should display up to the bottom edge of the screen.
and every python print sends a new bunch of text replacing the prior one
I set the python script to not buffer stdout so the content should come thru immediately.
but if u want to add scrolling, fork my repo and be my guest. youight be able to do it all with css transition… but I have trouble with that all the time.
@sdetweil It displays but it covers some of the other module’s contents on the screen. Is there a way to have it so it won’t cover the other content on the screen? ( Maybe modifying the width and height, make half of it fade, or send it to the back, behind the other modules?)
Or perhaps I’ll make the long texts display in parts/sections (Through my python code)
In my python code I also have some text print out with a TypeWriter effect (that doesn’t display to the Magic Mirror, because it rapidly prints one letter at a time).
Is there a way to implement that so the python print module can print the text using the typewriter effect or does that have to be done through CSS?
@extra-0 you could set the size of the div thru css. the class is PythonPrint (see the example in the readme). but that will clip the content not scroll unless u add css classes to do that.
otherwise it keeps going. this is just a web page
as for typewriter mode, I think u can do that w css a Google search should help there.
I don’t know, never tried any of those kinds of presentation
@sdetweil Alright, thanks for the insight.
I’ll try some things out and see if I can get it working the way I want it to.
KristjanESPERANTO last edited by KristjanESPERANTO
Out of curiosity: I can’t find any Python Print Module on the list of 3rd party modules. Which one is it exactly?
@kristjanesperanto it’s not on the list