MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Display More on Python Print Module

    Scheduled Pinned Locked Moved General Discussion
    module
    7 Posts 3 Posters 1.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @Extra 0
      last edited by sdetweil

      @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.

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      E 1 Reply Last reply Reply Quote 0
      • E Offline
        Extra 0 @sdetweil
        last edited by Extra 0

        @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?

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @Extra 0
          last edited by sdetweil

          @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

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          E 1 Reply Last reply Reply Quote 0
          • E Offline
            Extra 0 @sdetweil
            last edited by

            @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.

            KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
            • KristjanESPERANTOK Offline
              KristjanESPERANTO Module Developer @Extra 0
              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?

              S 1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil @KristjanESPERANTO
                last edited by

                @kristjanesperanto it’s not on the list

                https://github.com/sdetweil/MMM-PythonPrint

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy