Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '16,': 0.03; 'syntax': 0.04; 'subject:Python': 0.06; 'error:': 0.07; 'exit': 0.09; 'subject:script': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'python': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'cc:addr:python.org': 0.22; 'script.': 0.24; 'mon,': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'file': 0.32; 'run': 0.32; 'received:google.com': 0.35; 'subject:?': 0.36; 'subject:New': 0.37; 'pm,': 0.38; "you're": 0.61; 'invalid': 0.68; 'subject:get': 0.81; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=scMFXQE3nJ0XLiyzr0mjyB+46UFmGRnymHoT/o9SLpA=; b=HeTCRiSCkMq9MKuT0hG+iPFxQaxxgOno5zCThrGMjPSLkvz9j0y6o/BfiXNA707Hm7 /5AbynCN7iURsRf98JqUnjeLXIZDiMgL+ZOoBADtWV49w7CroNA1Y9DNZfzpTjDal/i4 6G9YFNuE0jQ65OzPUUoc/KgS9wteAAtwhvUA2FdXxmipG84bA1BWnDxHdSvV2Q0ydNVJ tiJW+19PfWw4H8P6vkHMTqcjb6OJPqJANFvcw//MxBhxFoDZGGk+b7PHVikavYcaiI26 on8V5ZyBqQsuwX8r/Uuzwl3P7A8VM5GLedLtCg0Whrc4aKyNK6bfFZ0jMuUynO00WUr6 bQGQ== MIME-Version: 1.0 X-Received: by 10.66.118.71 with SMTP id kk7mr18589165pab.14.1387180020281; Sun, 15 Dec 2013 23:47:00 -0800 (PST) In-Reply-To: <714fc5b8-6c85-4de3-8c0a-1a43d791f139@googlegroups.com> References: <61009939-dc9b-4ffe-84c0-a695b96d9a2d@googlegroups.com> <5769f8c3-f09c-458a-92b6-c727bfe95656@googlegroups.com> <52ae596b$0$29976$c3e8da3$5496439d@news.astraweb.com> <714fc5b8-6c85-4de3-8c0a-1a43d791f139@googlegroups.com> Date: Mon, 16 Dec 2013 18:47:00 +1100 Subject: Re: New to Python, Help to get script working? From: Chris Angelico Cc: "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: 10 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1387180023 news.xs4all.nl 2870 [2001:888:2000:d::a6]:39378 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62016 On Mon, Dec 16, 2013 at 6:43 PM, Mark wrote: > Syntax Error: invalid syntax >>>>python twitch.py 10 10 > File " line 1 > python twitch.py 10 10 You're trying to run that from the interactive Python prompt. Run it from the system - exit Python and run just this script. ChrisA