Arch problems--how do I build PIL to be 64 bit so it plays nicely on OS X?

2008-05-16 Thread lampshade
Hello, I'm using python + django to do some web design and I would really like to use the python image library as part of this. There seems to be a problem, however, with apache and mod_python being 64 bit while my python image library(PIL) is only 32 bit. Does anyone have experience with buildi

Re: os.path.isdir question

2008-03-15 Thread lampshade
On Mar 15, 9:27 pm, Benjamin <[EMAIL PROTECTED]> wrote: > On Mar 15, 8:12 pm, lampshade <[EMAIL PROTECTED]> wrote:> Hello, > > > I'm having some problems with os.path.isdir I think it is something > > simple that I'm overlooking. > >

os.path.isdir question

2008-03-15 Thread lampshade
Hello, I'm having some problems with os.path.isdir I think it is something simple that I'm overlooking. #!/usr/bin/python import os my_path = os.path.expanduser("~/pictures/") print my_path results = os.listdir(my_path) for a_result in results: if os.path.isdir(str(my_path) + str(a_result)