ANN: Python training "text movies"
Franck Ditter
nobody at nowhere.org
Sun Jan 20 12:37:38 EST 2013
In article <mailman.696.1358622153.2939.python-list at python.org>,
Mitya Sirenef <msirenef at lightbird.net> wrote:
> On 01/19/2013 04:32 AM, Franck Ditter wrote:
> > In article <mailman.488.1358146579.2939.python-list at python.org>,
> > Mitya Sirenef <msirenef at lightbird.net> wrote:
> >
> >> On 01/14/2013 01:34 AM, Franck Ditter wrote:
> >>> In article <mailman.469.1358088303.2939.python-list at python.org>,
> >>> Jason Friedman <jason at 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
More information about the Python-list
mailing list