delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/20/17:21:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
From: "Totte Karlsson" <tkarlsson AT qm DOT com>
Subject: python and cygwin
Date: Fri, 20 Feb 2004 14:13:01 -0800
Lines: 16
Message-ID: <c160pf$ocm$1@sea.gmane.org>
Reply-To: "Totte Karlsson" <tkarlsson AT qm DOT com>
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 207.158.40.25
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158

Hi, I want to run my python scripts in a cygwin bash shell, but have
problems.
It seems as if python don't understand the cygwin path.
If I'm placed in the directory in where the pythonscript is located, it
works fine, if I'm in another directory it don't work. I get the error

python.exe: can't open file '/cygrive ... the path to the
script/theScript.py'

Any suggestions?
I guess it should be straightforward to just setup the paths in .bashrc, but
maybe not!
regards
/totte




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