Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.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.039 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'newbie': 0.05; 'pointers': 0.09; 'martin': 0.11; 'calculates': 0.16; 'cli': 0.16; 'sane': 0.16; 'subject:Two': 0.16; 'subject:questions': 0.16; 'app': 0.19; 'seems': 0.21; 'input': 0.22; 'putting': 0.22; 'errors.': 0.24; 'frameworks': 0.24; "i've": 0.25; 'appreciated.': 0.29; 'generally': 0.29; '(like': 0.30; 'message-id:@mail.gmail.com': 0.30; 'along': 0.30; 'towards': 0.31; 'catching': 0.31; 'interface': 0.32; 'projects.': 0.33; 'maybe': 0.34; 'basic': 0.35; 'info': 0.35; 'tool': 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; 'doing': 0.36; "didn't": 0.36; 'to:addr:python-list': 0.38; 'little': 0.38; 'to:addr:python.org': 0.39; 'complete': 0.62; 'subject:more': 0.64; 'more': 0.64; 'ratings': 0.68; 'targeted': 0.69; 'nicely.': 0.84; 'rating': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XBTlqKGMnxzTPAk7u8ert7DHVIzNEELZEUJ8JEErTts=; b=Eqv6n7Q6u/C5i63GjcfL7YEPismek1MSo2TUh8OXUcy2ZrR7KV7d/5fqZfYaJ+Srna 67PYQni+cTWmAce69PFnYvFB/p+Vm9WiNtyGpsxjesNoZDuuLTZi7JH2wHNFDM3U8c/J netH2jq+cg66vL03hNW2hKNzuF4aWcWzDDhwMeGre2A5UZ9SkpvnRtc62vV8MKwG0CRd 92FO+Lipj4Cp1u7e/cAlQK27Qc6oVq12h2LZWv99fJpmNC5gL8JRdDdDTAmRkevhcggY y9/jflLJ128G4G1O4tbMEd7aanCw5Go1lzRXfoZLYdOdAtaQXb5aojgER00iRM9smaID PrNA== MIME-Version: 1.0 X-Received: by 10.220.7.131 with SMTP id d3mr2686157vcd.49.1405669813468; Fri, 18 Jul 2014 00:50:13 -0700 (PDT) Date: Fri, 18 Jul 2014 09:50:13 +0200 Subject: Two more newbie questions From: Martin S To: python-list@python.org Content-Type: text/plain; charset=UTF-8 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405669817 news.xs4all.nl 2917 [2001:888:2000:d::a6]:42174 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74731 My little newbie app is now coming along nicely. It calculates both LASK and Elo ratings for chess, so basic functionality is pretty much complete for my needs. Now, a/ What is the "easiest" way of putting a web interface on this CLI application. I've been looking at various web frameworks but that seems pretty much targeted more towards larger projects. Not "slapping a gui" on a cli application. Any pointers and suggestions appreciated. b/ Catching user input errors. What is generally the best way of catching those and doing something sane with it. Entering "asdf" instead of a rating (like 2014) pretty much kills the little tool horribly. Again, pointers to relevant info appreciated. Maybe I've already seen it but didn't really understand the content ... =/ Regards, Martin S