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: 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 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: <50f255c6$0$30003$c3e8da3$5496439d@news.astraweb.com> <50F25D6F.20604@lightbird.net> <50F26560.9040800@lightbird.net> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 On 01/20/2013 12:54 PM, Franck Ditter wrote: > In article , > Franck Ditter wrote: > >> In article , >> Franck Ditter wrote: >> >>> In article , >>> Mitya Sirenef wrote: >>> >>>> On 01/19/2013 04:32 AM, Franck Ditter wrote: >>>>> In article , >>>>> Mitya Sirenef wrote: >>>>> >>>>>> On 01/14/2013 01:34 AM, Franck Ditter wrote: >>>>>>> In article , >>>>>>> Jason Friedman 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