Message4355

Author carlo.amicucci
Recipients carlo.amicucci
Date 2009-03-26.15:38:39
SpamBayes Score 0.0007683331
Marked as misclassified No
Message-id <1238081919.82.0.370698831139.issue1289@psf.upfronthosting.co.za>
In-reply-to
Content
Another different behavior between python and jython is the following.
In Python if I have a path like 'c:/temp'

Both os.path.isdir('c:/temp') and os.path.isdir('c:/temp/') return True
(bool). In jython only os.path.isdir('c:/temp') return True. Instead
os.path.isdir('c:/temp/') return 0 (int) like a False.

Thanks,
Carlo
History
Date User Action Args
2009-03-26 15:38:39carlo.amicuccisetmessageid: <1238081919.82.0.370698831139.issue1289@psf.upfronthosting.co.za>
2009-03-26 15:38:39carlo.amicuccisetrecipients: + carlo.amicucci
2009-03-26 15:38:39carlo.amicuccilinkissue1289 messages
2009-03-26 15:38:39carlo.amicuccicreate