Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79022

Fwd: How to install and run a script?

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 <abhi.darkness@gmail.com>
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&gt;': 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 <abhi.darkness@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14803.1413145722.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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
> To: python-list@python.org
> 
> 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/install/
> 
> 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 “Python” in Cmd, or “Python” in terminal, do you get the Python prompt “>>>” ?
My guess is that your Python installation’s executable isn’t in the Windows / Linux $PATH variable. 
Give us more details so we can help you out further. :)

Thanks
Abhiram
“Py,Py,Py your boat. Gently down the IOstream"

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to install and run a script? Ryan Shuell <ryanshuell@gmail.com> - 2014-10-12 13:17 -0700
  Re: How to install and run a script? Chris Angelico <rosuav@gmail.com> - 2014-10-13 07:27 +1100
  Fwd: How to install and run a script? Abhiram <abhi.darkness@gmail.com> - 2014-10-13 01:58 +0530
  Re: How to install and run a script? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-12 21:35 +0100
  Re: How to install and run a script? ryguy7272 <ryanshuell@gmail.com> - 2014-10-12 19:05 -0700
    Re: How to install and run a script? Michael Torrie <torriem@gmail.com> - 2014-10-13 23:19 -0600
    Re: How to install and run a script? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-14 08:30 +0100
    Re: How to install and run a script? Dave Angel <davea@davea.name> - 2014-10-14 06:30 -0400

csiph-web