omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Export code and output as pdf file

    Pythonista
    pdfkit pdf
    5
    23
    12575
    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.
    • cvp
      cvp @mikael last edited by

      @mikael I didn't know this functionality.
      But, that will say that the whole console is redirected, even if your script asks questions...
      Anyway, this is a shorter and general solution.

      mikael 1 Reply Last reply Reply Quote 0
      • mikael
        mikael @cvp last edited by

        @cvp, agree, case by case either option may be more applicable. I wanted to remind us of both of these capabilities (running a py file and redirecting output), as both might come handy in various contexts.

        cvp 1 Reply Last reply Reply Quote 0
        • cvp
          cvp @mikael last edited by

          @mikael "My" solution is not very elegant and I'm not sure it is robust and would stay operational in next versions of Pythonista.
          I searched this way for the fun because I I thought that if the console is displayed and is scrollable, it has to be in a TextView...
          And during my tests, I discovered the "console 🔽 " button and its pop up menu where you can copy all the console...In the past, I often selected the whole text and copied without knowing this possibility 😢

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB Forums | Contributors