Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #37117
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <msirenef@lightbird.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'newbie': 0.05; 'repository': 0.05; 'subject:text': 0.05; 'lines.': 0.07; 'subject:ANN': 0.07; 'python:': 0.09; 'text"': 0.09; 'url:github': 0.09; 'complains': 0.16; 'cool.': 0.16; 'from...': 0.16; 'received:74.55.86': 0.16; 'received:74.55.86.74': 0.16; 'received:smtp.webfaction.com': 0.16; 'received:webfaction.com': 0.16; 'right;': 0.16; 'striving': 0.16; 'url:py': 0.16; 'wrote:': 0.17; 'possess': 0.17; 'thanks,': 0.18; '>>>': 0.18; 'thanks.': 0.21; 'displayed': 0.22; '(you': 0.23; "i've": 0.23; 'script': 0.24; 'allows': 0.25; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'thanks!': 0.26; 'am,': 0.27; 'guess': 0.27; 'executing': 0.27; 'focused': 0.27; 'lines': 0.28; '>>>>': 0.29; 'url:code': 0.29; 'source': 0.29; 'probably': 0.29; "i'm": 0.29; 'related': 0.30; "skip:' 10": 0.30; 'scroll': 0.33; 'to:addr:python-list': 0.33; "can't": 0.34; 'text': 0.34; 'list': 0.35; 'dir': 0.35; 'jason': 0.35; 'pm,': 0.35; 'add': 0.36; 'but': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'nothing': 0.38; 'shows': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'space': 0.39; 'where': 0.40; 'received:192.168': 0.40; 'your': 0.60; 'here:': 0.62; '(that': 0.62; 'more': 0.63; 'grab': 0.64; 'here': 0.65; 'quality': 0.69; 'attention': 0.75; 'article': 0.78; 'url:master': 0.84 |
| Date | Sun, 20 Jan 2013 13:34:49 -0500 |
| From | Mitya Sirenef <msirenef@lightbird.net> |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 |
| MIME-Version | 1.0 |
| To | python-list@python.org |
| Subject | Re: ANN: Python training "text movies" |
| References | <mailman.459.1358053925.2939.python-list@python.org> <50f255c6$0$30003$c3e8da3$5496439d@news.astraweb.com> <50F25D6F.20604@lightbird.net> <kctnms$svi$1@ger.gmane.org> <50F26560.9040800@lightbird.net> <mailman.469.1358088303.2939.python-list@python.org> <nobody-28BBFA.07345614012013@news.free.fr> <mailman.488.1358146579.2939.python-list@python.org> <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> |
| In-Reply-To | <nobody-6E373D.18540320012013@news.free.fr> |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.706.1358708500.2939.python-list@python.org> (permalink) |
| Lines | 109 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1358708500 news.xs4all.nl 6856 [2001:888:2000:d::a6]:47135 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:37117 |
Show key headers only | View raw
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