Re: Python IDE: great headache....

2006-03-12 Thread BWill
Dag Fjeld Edvardsen wrote:
> I like PyScripter. It has some of, but not all, the
> features you request.
> http://mmm-experts.com/Products.aspx?ProductId=4
> 
>   -Dag
> 
> 
Hey, that looks neat, and its open source too. Why have I not heard of 
it? I can have Eclipse-style sub-window management without the hassle of 
getting PyDev configured.

What features exactly does it not have?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python Love :)

2006-03-12 Thread BWill
al pacino wrote:
> Paddy wrote:
>> Spread the love - tell your Java freinds :-)
> 
> well said paddy ! :-))
> 

and ixnay on the ubyray or else I'll tell you where to stick your 
endblock delimiter :P
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python types

2006-03-25 Thread BWill
Salvatore wrote:
> Hello,
> 
> I've read several articles where it's said that Python is weakly typed.
> I'm a little surprised. All objects seem to have a perfectly defined
> type
> 
> Am i wrong?
> 
> Regards
> 
Aye, the other posters are right about you being right. This is just one 
of the great mass confusions in programming (sadly, there are a lot of 
them these days).
-- 
http://mail.python.org/mailman/listinfo/python-list


detecting drives for windows and linux

2006-03-25 Thread BWill
Hi, I'm writing a file browser, but I'm not sure how I could go about 
detecting the drives available on windows and linux systems (preferably 
using the standard modules if possible). I guess I could just try to 
list root on each letter of the alphabet for windows and see if it 
works, but that seems crude; besides, I want to know what kind of drive 
each drive/partition is (i.e. is it local and is it a harddrive or 
optical drive).

Thanks,

Brian
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: detecting drives for windows and linux

2006-03-25 Thread BWill
Tim Golden wrote:
> BWill wrote:
>> Hi, I'm writing a file browser, but I'm not sure how I could go about
>> detecting the drives available on windows and linux systems (preferably
>> using the standard modules if possible). I guess I could just try to
>> list root on each letter of the alphabet for windows and see if it
>> works, but that seems crude; besides, I want to know what kind of drive
>> each drive/partition is (i.e. is it local and is it a harddrive or
>> optical drive).
> 
> I'm not aware of any cross-platform way of doing this.
> On Windows you have a few options, but I'd go down
> the WMI route; it just makes life easier for doing this
> kind of thing. You might want to start by adapting this
> example:
> 
> http://tgolden.sc.sabren.com/python/wmi_cookbook.html#percentage_free
> 
> by removing the restriction to fixed disk (DriveType=3)
> 
> TJG
> 

oh, I wasn't expecting a single solution for both platforms, just some 
good solutions

thanks
-- 
http://mail.python.org/mailman/listinfo/python-list