delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/25/10:17:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
References: <438E7A7C6872404FAF4216DC7B4E459C1A2BF0 AT elnmail DOT delen DOT polito DOT 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
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <438E7A7C6872404FAF4216DC7B4E459C1A2BF0@elnmail.delen.polito.it>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019