On Mar 16, 2:27 pm, MRAB <[EMAIL PROTECTED]> wrote:
> On Mar 16, 2:27 am, 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.
>
> >
On Mar 16, 2:27 am, 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.
>
> > #!/usr/bin/python
> > import os
>
> > my_path = os.path.expan
On Mar 16, 12: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.
>
> #!/usr/bin/python
> import os
>
> my_path = os.path.expanduser("~/pictures/")
> print my_path
> results = os.listdir(my_pat
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.
>
> > #!/usr/bin/python
> > import os
>
> > my_path = os.path.expan
lampshade wrote:
> 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
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.
>
> #!/usr/bin/python
> import os
>
> my_path = os.path.expanduser("~/pictures/")
> print my_path
> results = os.listdir(my_path
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)