Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37117
| Date | 2013-01-20 13:34 -0500 |
|---|---|
| From | Mitya Sirenef <msirenef@lightbird.net> |
| Subject | Re: ANN: Python training "text movies" |
| References | (8 earlier) <nobody-62C003.10322819012013@news.free.fr> <mailman.696.1358622153.2939.python-list@python.org> <nobody-B6CD7F.18373820012013@news.free.fr> <nobody-A71B2D.18413120012013@news.free.fr> <nobody-6E373D.18540320012013@news.free.fr> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.706.1358708500.2939.python-list@python.org> (permalink) |
On 01/20/2013 12:54 PM, Franck Ditter wrote: > In article <nobody-A71B2D.18413120012013@news.free.fr>, > Franck Ditter <nobody@nowhere.org> wrote: > >> In article <nobody-B6CD7F.18373820012013@news.free.fr>, >> Franck Ditter <nobody@nowhere.org> wrote: >> >>> In article <mailman.696.1358622153.2939.python-list@python.org>, >>> Mitya Sirenef <msirenef@lightbird.net> wrote: >>> >>>> On 01/19/2013 04:32 AM, Franck Ditter wrote: >>>>> In article <mailman.488.1358146579.2939.python-list@python.org>, >>>>> Mitya Sirenef <msirenef@lightbird.net> wrote: >>>>> >>>>>> On 01/14/2013 01:34 AM, Franck Ditter wrote: >>>>>>> In article <mailman.469.1358088303.2939.python-list@python.org>, >>>>>>> Jason Friedman <jason@powerpull.net> wrote: >>>>>>> >>>>>>>>> That is right; I would also add that it may be overwhelming for a newbie >>>>>>>>> to be reading through a large "wall of text" -- here you have blank >>>>>>>>> space after the current paragraph so the attention is focused even more >>>>>>>>> on the last few lines. >>>>>>>>> >>>>>>>>> Additionally, since instructions scroll automatically, I can space them >>>>>>>>> out more than you would conventionally do in a manual. >>>>>>>>> >>>>>>>> Pretty cool. >>>>>>> When reading the source of the Web page which shows the scroll, >>>>>>> I can't find the reference to the text displayed. Only "text"... >>>>>>> How may we use the software which generates the Javascript ? >>>>>>> Thanks, it's cool. >>>>>>> >>>>>>> franck >>>>>> Thanks! >>>>>> >>>>>> the text is in var commands = ... >>>>>> >>>>>> You can download the generator script here: >>>>>> >>>>>> https://github.com/pythonbyexample/PBE/blob/master/code/jstmovie.py >>>>>> >>>>>> (you also need to grab tmovies dir) >>>>> When looking at the source of the page : >>>>> http://lightbird.net/larks/tmovies/strings.html >>>>> I find commands = [] >>>>> I can't guess where the strings displayed come from... >>>>> >>>>> franck >>>> >>>> Look 10 lines below that line. >>>> >>>> >>>> I have also added a related page that allows you to paste your own >>>> text to make a movie; it's linked from the same page with the >>>> list of generated t-movies. >>>> >>>> (that page does not let you use typewriter effect or custom pauses >>>> though). >>>> >>>> - mitya >>> >>> I'm probably blind but 10 line after the line "commands = []", I find : >>> >>> var commands = [ >>> [ >>> "text", >>> " " >>> ], >>> [ >>> "text", >>> " " >>> ], >>> ....] >>> >>> but nothing concrete ! How come ? >>> >>> franck >> >> OK OK found ! Thanks. >> >> franck > > When executing jstmovie.py, it complains : > 'template.html' not found in tmovies... > > franck > > tmovies/template.html As I've said upthread, you need to download tmovies dir from the same repository where jstmovie.py is located: https://github.com/pythonbyexample/PBE/tree/master/code/ - mitya -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ Admiration for a quality or an art can be so strong that it deters us from striving to possess it. Friedrich Nietzsche
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
ANN: Python training "text movies" AK <andrei.avk@gmail.com> - 2013-01-13 00:11 -0500
Re: ANN: Python training "text movies" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-13 06:35 +0000
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-13 02:08 -0500
Re: ANN: Python training "text movies" rusi <rustompmody@gmail.com> - 2013-01-20 23:30 -0800
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-21 03:26 -0500
Re: ANN: Python training "text movies" Terry Reedy <tjreedy@udel.edu> - 2013-01-13 02:28 -0500
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-13 02:42 -0500
Re: ANN: Python training "text movies" Jason Friedman <jason@powerpull.net> - 2013-01-13 06:38 -0800
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-14 07:34 +0100
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-14 01:56 -0500
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-19 10:32 +0100
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-19 14:02 -0500
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-20 18:37 +0100
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-20 18:41 +0100
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-20 18:54 +0100
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-20 13:34 -0500
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-21 09:07 +0100
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-21 03:31 -0500
Re: ANN: Python training "text movies" Franck Ditter <nobody@nowhere.org> - 2013-01-21 12:30 +0100
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-21 17:31 -0500
Re: ANN: Python training "text movies" Mitya Sirenef <msirenef@lightbird.net> - 2013-01-21 03:38 -0500
Re: ANN: Python training "text movies" Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-01-20 23:55 +0000
csiph-web