[Microbit-Python] Hard copy of script files

Piggott BRUCE brucepiggott at ntlworld.com
Sat Oct 22 10:44:58 EDT 2016


Thanks for that. I will try.

Cheers, Bruce

> On 21 October 2016 at 16:02 David Whale <david at thinkingbinaries.com> wrote:
> 
>     You could try using this tool to beautify it inside a web page, and then
> just hit the print button:
> 
>     http://www.cleancss.com/python-beautify/
> 
> 
> 
>     On 21 October 2016 at 15:52, Michael <sparks.m at gmail.com
> mailto:sparks.m at gmail.com > wrote:
> 
>         > >         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. Openhttp://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 mailto: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 mailto: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 mailto:Microbit at python.org
> > > >                 > https://mail.python.org/mailman/listinfo/microbit
> > > >                 > 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 mailto:Microbit at python.org
> > > >                 https://mail.python.org/mailman/listinfo/microbit
> > > > https://mail.python.org/mailman/listinfo/microbit
> > > > 
> > > >             > > > 
> > >             _______________________________________________
> > >             Microbit mailing list
> > >             Microbit at python.org mailto:Microbit at python.org
> > >             https://mail.python.org/mailman/listinfo/microbit
> > > https://mail.python.org/mailman/listinfo/microbit
> > > 
> > > 
> > >         > > 
> > 
> >         _______________________________________________
> >         Microbit mailing list
> >         Microbit at python.org mailto:Microbit at python.org
> >         https://mail.python.org/mailman/listinfo/microbit
> > 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/20161022/9ad193e5/attachment.html>


More information about the Microbit mailing list