path error

godavemon davefowler at gmail.com
Fri Jul 20 15:30:03 EDT 2007


On Jul 20, 11:45 am, godavemon <davefow... at gmail.com> wrote:
> On Jul 20, 11:42 am, godavemon <davefow... at gmail.com> wrote:
>
> > I'm on an intel macbook using OS X 10.4 and for some reason my path is
> > being interpreted incorrectly.  See the example:
>
> > dave at jared3-jared$ pwd
> > /Users/dave/til/jared     <----- dirname = jared
> > dave at jared3-jared$ python
> > ...>>> import os
> > >>> os.path.abspath('')
>
> > '/Users/dave/til/Jared'   <----- dirname = Jared
>
> > python is capitalizing my jared directory.  It has worked for a long
> > time but suddenly doesn't.  I'm working on the project over SVN, could
> > it be some kind  of incompatibility with someone who submitted using
> > windows or something?  Any solutions for this?
>
> Also my python version is
>
> Python 2.4.4 (#1, Oct 18 2006, 10:34:39)
> [GCC 4.0.1 (Apple Computer, Inc. build 5341)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.

I deleted the directory and updated.  It fixed the problem.  Still an
odd one, but not a problem anymore.




More information about the Python-list mailing list