[Microbit-Python] Hard copy of script files

Michael sparks.m at gmail.com
Fri Oct 21 10:52:02 EDT 2016


Hi,


More faff route that leaves everything still pretty formatted with colours
(and doesn't use any particularly special tools :) ):

1. Select the program you want to print.
2. Open pastebin.com in a browser
3. Paste your program into the obvious box.
4. Below the pastebox, select "python" for syntaxt highlighting
5. Select "unlisted" (or private if you signin)
6. Hit submit
7. See your pretty printed program. You could hit print at this stage.
8. Select just your pretty printed program in the browser, and hit copy.
9. In open office or word, paste.
10. Print. (or export as PDF and print)

(I'd personally just copy into kate and hit "print", but I'm guessing
you're not using Linux)


Michael

On 21 October 2016 at 15:19, Piggott BRUCE <brucepiggott at ntlworld.com>
wrote:

> Thanks for that N,
>
> That works but all the nice formatting and colours are removed!
>
> Guess that'll have to do.
>
> Cheers, Bruce
>
> On 21 October 2016 at 15:06 "Nicholas H.Tollervey" <ntoll at ntoll.org>
> wrote:
>
>
> On 21/10/16 14:06, Piggott BRUCE wrote:
> > Can anybody tell me how to print out a Microbit script file as hard copy.
> >
> > Regards, Bruce Piggott
> >
> >
> >
> > _______________________________________________
> > Microbit mailing list
> > Microbit at python.org
> > https://mail.python.org/mailman/listinfo/microbit
> >
>
> Hi Bruce,
>
> It could just be as simple as cutting and pasting your script into an
> application that has a print button. (Sorry if this is stating the
> blindingly obvious).
>
> However, and a word of caution, if you paste your script into a word
> processor like Microsoft Word, it'll try to re-format your code. Also,
> make sure you format the code in a fixed width font to make it readable.
>
> If you're on Windows you could just use Notepad.
>
> Hope this helps,
>
> N.
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>
>
> _______________________________________________
> Microbit mailing list
> Microbit at python.org
> https://mail.python.org/mailman/listinfo/microbit
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/microbit/attachments/20161021/a44cac4f/attachment.html>


More information about the Microbit mailing list