Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.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; 'python,': 0.02; 'syntax': 0.04; 'executable': 0.09; 'scripts,': 0.09; 'setup.py': 0.09; 'subject:script': 0.09; 'uuencode mode:forwarded': 0.09; 'uuencode:fname comp:': 0.09; 'uuencode:fname comp:message': 0.09; 'uuencode:fname:message:': 0.09; 'subject:How': 0.10; 'python': 0.11; 'windows': 0.15; 'cmd,': 0.16; 'gently': 0.16; 'script?': 0.16; 'subject:install': 0.16; 'subject:run': 0.16; 'syntaxerror:': 0.16; 'variable.': 0.16; 'followed': 0.16; 'trying': 0.19; '8bit%:5': 0.22; 'programming': 0.22; 'cc:addr:gmail.com': 0.22; 'email addr:gmail.com>': 0.22; 'install': 0.23; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'this:': 0.26; 'absolute': 0.30; "i'm": 0.30; 'ist': 0.31; 'languages': 0.32; 'run': 0.32; 'linux': 0.33; 'url:python': 0.33; 'guess': 0.33; 'date:': 0.34; 'received:google.com': 0.35; 'ryan': 0.36; 'thanks': 0.36; 'subject:?': 0.36; 'url:org': 0.36; 'received:192.168.2': 0.37; 'email addr:python.org': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'forwarded': 0.39; 'subject:': 0.39; 'success.': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'completed': 0.61; 'subject:Fwd': 0.61; 'header:Message-Id:1': 0.63; 'more': 0.64; 'email name:python-list': 0.65; 'charset:windows-1252': 0.65; 'details': 0.65; 'invalid': 0.68; 'prompt': 0.68; 'isn\x92t': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:message-id:mime-version:subject:date:references :cc:to; bh=LafEb6pZ+KZ4gCi3cY7hwGRlR0/o1Ff0petvEqyTwl4=; b=DhbLoIH+RifoBlGrJyoGUXeOXx60a6MUX8aI49QJd+F6c7BUSY6/hS7AkcindnsoON FyCOqOLN3M2aPlvQHCopK6wsOeXMEwX/djM8DJc21CqpPX0+SyLuI7FYWgsm3ShLSbNZ fV4Hek4KqNvjc0AevEF4UR5DSYkWxHo9gk+hUsD0//n+LpDaI5uy5yjOissbtn1MV3GV VDcGYpFNf2IrDPsLFPKNtidyBX0W18tJ4D8aUCVYzIwQFCdrR0UkgI1NrD+WmUENSQRL 1zhkdcK3tWon+WfSQ+wDJKibHIFb1jKaHK03nbCYOzD8BU1uPtw7KEXa+aZ0Cx26gbGD gK1g== X-Received: by 10.70.36.237 with SMTP id t13mr3456209pdj.134.1413145712777; Sun, 12 Oct 2014 13:28:32 -0700 (PDT) From: Abhiram Content-Type: multipart/alternative; boundary="Apple-Mail=_083BF0BB-6316-441C-951C-83AC46829F50" Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Fwd: How to install and run a script? Date: Mon, 13 Oct 2014 01:58:26 +0530 References: <9e37d62a-9391-44fc-8fa2-089ae81acfc5@googlegroups.com> To: python-list@python.org X-Mailer: Apple Mail (2.1878.6) Cc: Ryanshuell@gmail.com 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: 89 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1413145722 news.xs4all.nl 2873 [2001:888:2000:d::a6]:52517 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:79022 --Apple-Mail=_083BF0BB-6316-441C-951C-83AC46829F50 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Begin forwarded message: > From: Ryan Shuell > Subject: How to install and run a script? > Date: 13 October 2014 1:47:58 am IST > To: python-list@python.org >=20 > I'm an absolute noob to Python, although I have been programming in = several other languages for over 10 years. >=20 > I'm trying to install and run some scripts, and I'm not having much = success. >=20 > I followed the steps at this site. > https://docs.python.org/2/install/ >=20 > I have Python 2.7.6 Shell. >=20 > If I type this: > python setup.py install >=20 > I get this: > SyntaxError: invalid syntax >=20 Have you completed installation? If you type =93Python=94 in Cmd, or =93Python=94 in terminal, do you get = the Python prompt =93>>>=94 ? My guess is that your Python installation=92s executable isn=92t in the = Windows / Linux $PATH variable.=20 Give us more details so we can help you out further. :) Thanks Abhiram =93Py,Py,Py your boat. Gently down the IOstream"= --Apple-Mail=_083BF0BB-6316-441C-951C-83AC46829F50 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252

Begin forwarded message:

From: Ryan Shuell <ryanshuell@gmail.com>
Subject: How to install and run a = script?
Date: = 13 October 2014 = 1:47:58 am IST

I'm an absolute noob to Python, although I have been = programming in several other languages for over 10 years.

I'm = trying to install and run some scripts, and I'm not having much = success.

I followed the steps at this site.
https://docs.python.org/2/inst= all/

I have Python 2.7.6 Shell.

If I type = this:
python setup.py install

I get this:
SyntaxError: = invalid syntax


Have you = completed installation?
If you type =93Python=94 in Cmd, or = =93Python=94 in terminal, do you get the Python prompt =93>>>=94 = ?
My guess is that your Python installation=92s executable = isn=92t in the Windows / Linux $PATH variable. 
Give us = more details so we can help you out further. = :)

Thanks
Abhiram
=93Py,Py,Py= your boat. Gently down the IOstream"
= --Apple-Mail=_083BF0BB-6316-441C-951C-83AC46829F50--