Why don't isdir() and isfile() work for me?

J dreadpiratejeff at gmail.com
Thu Mar 11 05:29:57 UTC 2010


On Wed, Mar 10, 2010 at 23:29, Ray Parrish <crp at cmc.net> wrote:
>> Any particular reason you're using 2.5.2 and not 2.5.6, or even 2.6?
>>
> Because 2.5.2 is what is available in the Ubuntu repository, and if I
> distribute a program, I don't want people to have to go beyond the
> trusted repository to install the dependencies for any program's I write.

What Ubuntu version are you running?  At least as far as Karmic goes,
the repos have the following:

bladernr at klaatu:~/isos$ sudo apt-cache policy python2.5
python2.5:
  Installed: 2.5.4-1ubuntu6.1
  Candidate: 2.5.4-1ubuntu6.1
  Version table:
 *** 2.5.4-1ubuntu6.1 0
        500 http://us.archive.ubuntu.com karmic-updates/main Packages
        500 http://security.ubuntu.com karmic-security/main Packages
        100 /var/lib/dpkg/status
     2.5.4-1ubuntu6 0
        500 http://us.archive.ubuntu.com karmic/main Packages

Just curious...

And i meant 2.5.4 originally.  When I wrote that earlier, I had looked
at versions for all the pythons I have installed (I have 2.5, 2.6 and
3.1 installed) and started interposing versions.

Oh well... I wasn't implying anything bad about you ;-)  I was just
curious why it had to be 2.5.2.

> Thank you for this link. I have been trying to use the shell scripting
> list, but it's membership is very low, and getting answers from it is
> very slow. I'm hoping that your link will have a more high volume list
> that works quickly.

No problem, Ray.  The main list, python-list is very active, and
usually very responsive as well.  It is also tied in or synced with
the usenet group comp.lang.python, so you not only get python-list
users reading, but you also get Usenet readers reading as well...

Good luck!

Jeff




More information about the ubuntu-users mailing list