Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sun, 22 Feb 2004 10:30:30 -0800
From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
To: cygwin@cygwin.com
Subject: Re: python and cygwin
Message-ID: <20040222183030.GB1208@efn.org>
References: <c160pf$ocm$1@sea.gmane.org> <c162os$eni$1@sea.gmane.org> <40369000.3B3EE444@dessent.net> <c1658e$jsc$1@sea.gmane.org> <1amf6c54ignfm.dlg@thorstenkampe.de> <c16d7u$2ck$1@sea.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <c16d7u$2ck$1@sea.gmane.org>
User-Agent: Mutt/1.4i
Organization: bs"d
X-IsSubscribed: yes

On Fri, Feb 20, 2004 at 05:45:33PM -0800, Totte Karlsson <tkarlsson@qm.com> wrote:
> When I open up a "cygwin-bash" on windows, I just thought that I could use
> my already installed "win-32" python. I realize now that you can't and I
> think that creates problems. As a programmer I don't like do have to
> duplicate things. I only want one "repository".

You can use your already innstalled python.  You just may need to do a
little work to make sure paths are correctly translated.  I'm not sure
exactly what you were doing to feed python a /cygdrive... path; you may
just need to replace the #! line in your script to point to a wrapper
that does a cygpath -w translation on its first argument.

Does anyone know if there is any particular reason that PATH translation
ends up with /cygdrive/x/... rather than x:/...?

> It sounds as if you are talking about cygwin as an operating system, on
> which you can run cygwin applications.

That's a good way to think of it.

--
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/

