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