From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4500 invoked by alias); 22 Feb 2004 18:44:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 4493 invoked from network); 22 Feb 2004 18:44:44 -0000 Received: from unknown (HELO ns2.prospeed.net) (12.46.111.140) by sources.redhat.com with SMTP; 22 Feb 2004 18:44:44 -0000 Received: from enterprise-e.cygwin.com ([12.46.110.44]) by ns2.prospeed.net (8.12.10/8.12.8) with ESMTP id i1MIm4HI007220; Sun, 22 Feb 2004 13:48:04 -0500 Reply-To: Cygwin List Message-Id: <6.0.1.1.0.20040222133956.039dd750@127.0.0.1> X-Sender: Date: Sun, 22 Feb 2004 20:09:00 -0000 To: Yitzchak Scott-Thoennes , cygwin@cygwin.com From: Larry Hall Subject: Re: python and cygwin In-Reply-To: <20040222183030.GB1208@efn.org> References: <40369000.3B3EE444@dessent.net> <1amf6c54ignfm.dlg@thorstenkampe.de> <20040222183030.GB1208@efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2004-02/txt/msg01201.txt.bz2 At 01:30 PM 2/22/2004, Yitzchak Scott-Thoennes you wrote: >On Fri, Feb 20, 2004 at 05:45:33PM -0800, Totte Karlsson 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:/...? > Sure. You get that when you ask 'cygpath' for a POSIX path. Maybe this is not what you meant but I can't help beyond this without some specifics to your question. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/