Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #36721 > unrolled thread
| Started by | AK <andrei.avk@gmail.com> |
|---|---|
| First post | 2013-01-13 00:11 -0500 |
| Last post | 2013-01-20 23:55 +0000 |
| Articles | 20 on this page of 22 — 7 participants |
Back to article view | Back to comp.lang.python
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
Page 1 of 2 [1] 2 Next page →
| From | AK <andrei.avk@gmail.com> |
|---|---|
| Date | 2013-01-13 00:11 -0500 |
| Subject | ANN: Python training "text movies" |
| Message-ID | <mailman.459.1358053925.2939.python-list@python.org> |
I don't know what to call these, so for now I'll call them "training text movies" until I come up with a better name.. I hope these will be helpful, especially to new students of Python. http://lightbird.net/larks/tmovies.html I'll be adding more in the next few days... - mitya
[toc] | [next] | [standalone]
| From | Steven D'Aprano <steve+comp.lang.python@pearwood.info> |
|---|---|
| Date | 2013-01-13 06:35 +0000 |
| Message-ID | <50f255c6$0$30003$c3e8da3$5496439d@news.astraweb.com> |
| In reply to | #36721 |
On Sun, 13 Jan 2013 00:11:53 -0500, AK wrote: > I don't know what to call these, so for now I'll call them "training > text movies" until I come up with a better name.. > > I hope these will be helpful, especially to new students of Python. > > http://lightbird.net/larks/tmovies.html For the benefit of those who don't have web access at the moment, or who don't like to click on random links they don't know anything about, would you like to say a few words describing what "text movies" are, and how you think these may be helpful? -- Steven
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-13 02:08 -0500 |
| Message-ID | <mailman.461.1358060915.2939.python-list@python.org> |
| In reply to | #36724 |
On 01/13/2013 01:35 AM, Steven D'Aprano wrote: > On Sun, 13 Jan 2013 00:11:53 -0500, AK wrote: > >> I don't know what to call these, so for now I'll call them "training >> text movies" until I come up with a better name.. >> >> I hope these will be helpful, especially to new students of Python. >> >> http://lightbird.net/larks/tmovies.html > > > For the benefit of those who don't have web access at the moment, or who > don't like to click on random links they don't know anything about, would > you like to say a few words describing what "text movies" are, and how > you think these may be helpful? > > > Sure: they play back a list of instructions on use of string methods and list comprehensions along with demonstration in a mock-up of the interpreter with a different display effect for commands typed into (and printed out by) the interpeter. The speed can be changed and the playback can be paused. - mitya -- Lark's Tongue Guide to Python: http://lightbird.net/larks/
[toc] | [prev] | [next] | [standalone]
| From | rusi <rustompmody@gmail.com> |
|---|---|
| Date | 2013-01-20 23:30 -0800 |
| Message-ID | <20e67b06-7dcb-420c-a0f2-69d2ca767d51@th3g2000pbc.googlegroups.com> |
| In reply to | #36725 |
On Jan 13, 12:08 pm, Mitya Sirenef <msire...@lightbird.net> wrote: > Sure: they play back a list of instructions on use of string methods and > list comprehensions along with demonstration in a mock-up of the > interpreter with a different display effect for commands typed into (and > printed out by) the interpeter. The speed can be changed and the > playback can be paused. Hi Mitya. What do you use for making these 'text-movies'? [Asking after some googling]
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-21 03:26 -0500 |
| Message-ID | <mailman.730.1358756769.2939.python-list@python.org> |
| In reply to | #37164 |
On 01/21/2013 02:30 AM, rusi wrote: > On Jan 13, 12:08 pm, Mitya Sirenef <msire...@lightbird.net> wrote: >> Sure: they play back a list of instructions on use of string methods and >> list comprehensions along with demonstration in a mock-up of the >> interpreter with a different display effect for commands typed into (and >> printed out by) the interpeter. The speed can be changed and the >> playback can be paused. > > Hi Mitya. > What do you use for making these 'text-movies'? > [Asking after some googling] I'm using this script: https://github.com/pythonbyexample/PBE/tree/master/jstmovie/ sample source file is in tmovies/src/ -m -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ Depression is rage spread thin. George Santayana
[toc] | [prev] | [next] | [standalone]
| From | Terry Reedy <tjreedy@udel.edu> |
|---|---|
| Date | 2013-01-13 02:28 -0500 |
| Message-ID | <mailman.462.1358062127.2939.python-list@python.org> |
| In reply to | #36724 |
On 1/13/2013 2:08 AM, Mitya Sirenef wrote: > On 01/13/2013 01:35 AM, Steven D'Aprano wrote: >> On Sun, 13 Jan 2013 00:11:53 -0500, AK wrote: > > > >> I don't know what to call these, so for now I'll call them "training > >> text movies" until I come up with a better name.. > >> > >> I hope these will be helpful, especially to new students of Python. > >> > >> http://lightbird.net/larks/tmovies.html > > > > > > For the benefit of those who don't have web access at the moment, or who > > don't like to click on random links they don't know anything about, > would > > you like to say a few words describing what "text movies" are, and how > > you think these may be helpful? > > > > > > > > > Sure: they play back a list of instructions on use of string methods and > list comprehensions along with demonstration in a mock-up of the > interpreter with a different display effect for commands typed into (and > printed out by) the interpeter. The speed can be changed and the > playback can be paused. They are simulated videos of an interactive interpreter session, with entered commands appearing all at once instead of char by char, and with the extra features mentioned above. I presume the purported advantage over an after-the-fact transcript is focusing watcher attention on each entry and response. -- Terry Jan Reedy
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-13 02:42 -0500 |
| Message-ID | <mailman.463.1358062947.2939.python-list@python.org> |
| In reply to | #36724 |
On 01/13/2013 02:28 AM, Terry Reedy wrote: > On 1/13/2013 2:08 AM, Mitya Sirenef wrote: >> On 01/13/2013 01:35 AM, Steven D'Aprano wrote: >>> On Sun, 13 Jan 2013 00:11:53 -0500, AK wrote: >> > >> >> I don't know what to call these, so for now I'll call them "training >> >> text movies" until I come up with a better name.. >> >> >> >> I hope these will be helpful, especially to new students of Python. >> >> >> >> http://lightbird.net/larks/tmovies.html >> > >> > >> > For the benefit of those who don't have web access at the moment, or who >> > don't like to click on random links they don't know anything about, >> would >> > you like to say a few words describing what "text movies" are, and how >> > you think these may be helpful? >> > >> > >> > >> >> >> Sure: they play back a list of instructions on use of string methods and >> list comprehensions along with demonstration in a mock-up of the >> interpreter with a different display effect for commands typed into (and >> printed out by) the interpeter. The speed can be changed and the >> playback can be paused. > > They are simulated videos of an interactive interpreter session, with > entered commands appearing all at once instead of char by char, and > with the extra features mentioned above. I presume the purported > advantage over an after-the-fact transcript is focusing watcher > attention on each entry and response. > 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. - mitya -- Lark's Tongue Guide to Python: http://lightbird.net/larks/
[toc] | [prev] | [next] | [standalone]
| From | Jason Friedman <jason@powerpull.net> |
|---|---|
| Date | 2013-01-13 06:38 -0800 |
| Message-ID | <mailman.469.1358088303.2939.python-list@python.org> |
| In reply to | #36724 |
> 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.
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-14 07:34 +0100 |
| Message-ID | <nobody-28BBFA.07345614012013@news.free.fr> |
| In reply to | #36737 |
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
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-14 01:56 -0500 |
| Message-ID | <mailman.488.1358146579.2939.python-list@python.org> |
| In reply to | #36770 |
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) -- Lark's Tongue Guide to Python: http://lightbird.net/larks/
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-19 10:32 +0100 |
| Message-ID | <nobody-62C003.10322819012013@news.free.fr> |
| In reply to | #36772 |
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
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-19 14:02 -0500 |
| Message-ID | <mailman.696.1358622153.2939.python-list@python.org> |
| In reply to | #37077 |
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 -- Lark's Tongue Guide to Python: http://lightbird.net/larks/
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-20 18:37 +0100 |
| Message-ID | <nobody-B6CD7F.18373820012013@news.free.fr> |
| In reply to | #37094 |
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
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-20 18:41 +0100 |
| Message-ID | <nobody-A71B2D.18413120012013@news.free.fr> |
| In reply to | #37114 |
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
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-20 18:54 +0100 |
| Message-ID | <nobody-6E373D.18540320012013@news.free.fr> |
| In reply to | #37115 |
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
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-20 13:34 -0500 |
| Message-ID | <mailman.706.1358708500.2939.python-list@python.org> |
| In reply to | #37116 |
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
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-21 09:07 +0100 |
| Message-ID | <nobody-99F86D.09075221012013@news.free.fr> |
| In reply to | #37117 |
Ok I can make my way with jstmovie. Some remarks and questions : - Use encoding='utf-8' inside open of method __init__ of class Tutorial in jstmovie.py. Otherwise foreign languages are stuck. - To use the software outside Python, we need to have proper indentation as real spaces. We should be able to distinguish Arial type for usual text and fixed font for code. - Should have some colors. Wadda wadda <b>yadda</b> # blue annotation Cool and useful software, franck
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-21 03:31 -0500 |
| Message-ID | <mailman.731.1358757093.2939.python-list@python.org> |
| In reply to | #37166 |
On 01/21/2013 03:07 AM, Franck Ditter wrote: > Ok I can make my way with jstmovie. Some remarks and questions : > > - Use encoding='utf-8' inside open of method __init__ of class Tutorial > in jstmovie.py. Otherwise foreign languages are stuck. > > - To use the software outside Python, we need to have proper indentation > as real spaces. We should be able to distinguish Arial type for usual > text and fixed font for code. Not sure I understand about indentation.. You mean like wrapping everything in a textarea tag? Right now everything is in div, which leads to all spaces being compressed in html when viewed. > > > - Should have some colors. > > Wadda wadda <b>yadda</b> # blue annotation I'm thinking of possibly using something like ReStructured text and having css styles. Not sure yet. > > > Cool and useful software, > > franck Thanks! -m -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ He who would learn to fly one day must first learn to stand and walk and run and climb and dance; one cannot fly into flying. Friedrich Nietzsche
[toc] | [prev] | [next] | [standalone]
| From | Franck Ditter <nobody@nowhere.org> |
|---|---|
| Date | 2013-01-21 12:30 +0100 |
| Message-ID | <nobody-80DDDD.12305021012013@news.free.fr> |
| In reply to | #37169 |
In article <mailman.731.1358757093.2939.python-list@python.org>, Mitya Sirenef <msirenef@lightbird.net> wrote: > > - To use the software outside Python, we need to have proper indentation > > as real spaces. We should be able to distinguish Arial type for usual > > text and fixed font for code. > > > Not sure I understand about indentation.. You mean like wrapping > everything in a textarea tag? Right now everything is in div, > which leads to all spaces being compressed in html when viewed. SOme spaces are translated in , others in actual spaces. Say for Scheme, if I write this in foo.txt : > (define z (* 3+2i 1+i)) ; notation a+bi abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz I get this in foo.html (spaces missing) : > (define z (* 3+2i 1+i)) ; notation a+bi abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz franck
[toc] | [prev] | [next] | [standalone]
| From | Mitya Sirenef <msirenef@lightbird.net> |
|---|---|
| Date | 2013-01-21 17:31 -0500 |
| Message-ID | <mailman.767.1358807518.2939.python-list@python.org> |
| In reply to | #37176 |
On 01/21/2013 06:30 AM, Franck Ditter wrote: > In article <mailman.731.1358757093.2939.python-list@python.org>, > Mitya Sirenef <msirenef@lightbird.net> wrote: > >> > - To use the software outside Python, we need to have proper indentation >> > as real spaces. We should be able to distinguish Arial type for usual >> > text and fixed font for code. >> >> >> Not sure I understand about indentation.. You mean like wrapping >> everything in a textarea tag? Right now everything is in div, >> which leads to all spaces being compressed in html when viewed. > > SOme spaces are translated in , others in actual spaces. > Say for Scheme, if I write this in foo.txt : > >> (define z (* 3+2i 1+i)) ; notation a+bi > abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz > > I get this in foo.html (spaces missing) : > >> (define z (* 3+2i 1+i)) ; notation a+bi > abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz > > franck This applies to Python and all other languages equally, that's why I was confused. I've fixed this issue and added utf-8, and moved the files to a new location & also copied utils.py file which I forgot yesterday. https://github.com/pythonbyexample/PBE/tree/master/jstmovie -m -- Lark's Tongue Guide to Python: http://lightbird.net/larks/ The world is a perpetual caricature of itself; at every moment it is the mockery and the contradiction of what it is pretending to be. George Santayana
[toc] | [prev] | [next] | [standalone]
Page 1 of 2 [1] 2 Next page →
Back to top | Article view | comp.lang.python
csiph-web