X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <438E7A7C6872404FAF4216DC7B4E459C1A2BF0@elnmail.delen.polito.it>
Subject: RE: Python for Cygwin
Date: Thu, 25 Oct 2007 15:17:06 +0100
Message-ID: <002a01c81711$b916a110$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <438E7A7C6872404FAF4216DC7B4E459C1A2BF0@elnmail.delen.polito.it>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 25 October 2007 14:17, Lorenzo.Corgnati wrote:

> Dear Sirs,
> I'm a new Cygwin user. I'm running Cygwin on my PC (mounting Windows XP
> Professional). 
> I need to run a little Python script on my Cygwin shell. What have I to do?
> I guess I've to install Python on my PC. In which way have to do it? In
> which path? Have I to install it under Cygwin?  

  Just run setup.exe again and set it to install on the package chooser.
Python is in the "Python" category.  Setup will install it to the correct
location automatically and all you have to do after that is type

  python <scriptname>

at a shell prompt.  (Or make sure the first line of the script says

#!python

and the script has the +x flag set, and then you can just run it directly by
name at the bash prompt, subject to the usual rules about $PATH).


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

