Mapping in python? Transforming shapefile so that basemap can read them?

2009-09-11 Thread C Barr Leigh
I'm trying to get started with plotting maps in python. I need to read "shape files" (.shp) and make maps. There seem to be many efforts but none is complete? I'm looking for suggestions and troubleshooting. The basemap package is obviously at an impressive stage and comes with some data: http://w

Re: Beginners Query - Simple counter problem

2007-09-06 Thread David Barr
Scott David Daniels wrote: > David Barr wrote: >> I am brand new to Python (this is my second day), and the only >> experience I have with programming was with VBA. Anyway, I'm posting >> this to see if anyone would be kind enough to help me with this (I >> su

Beginners Query - Simple counter problem

2007-09-06 Thread David Barr
I am brand new to Python (this is my second day), and the only experience I have with programming was with VBA. Anyway, I'm posting this to see if anyone would be kind enough to help me with this (I suspect, very easy to solve) query. The following code is in a file which I am running through

Re: Bug in python!? persistent value of an optional parameter in function!

2007-03-07 Thread C Barr Leigh
Oh, oops! Of course... :) A great and sensible feature if you're expecting it. Thanks very much, everyone, for the links and discussion! Chris -- http://mail.python.org/mailman/listinfo/python-list

Bug in python!? persistent value of an optional parameter in function!

2007-03-07 Thread C Barr Leigh
Help! Have I found a serious bug? This seems like highly undesired behaviour to me. From the program below, I get output: call1: ['sdf'] call2: ['Set within test for call2'] call3: ['Set within test for call2'] instead of what I should get, call1: ['sdf'] call2: ['Set within test for call2'] cal

Re: HELP Non-Blocking reads from sys.stdin in Windows.

2004-12-28 Thread barr
wrote in message news:[EMAIL PROTECTED] > "barr" <[EMAIL PROTECTED]> writes: > > I am in real need of a way to perform non blocking reads from sys.stdin on > > windows. I have looked every where for an answer but but with no luck. I > > beleive there there m

HELP Non-Blocking reads from sys.stdin in Windows.

2004-12-28 Thread barr
Hi I am in real need of a way to perform non blocking reads from sys.stdin on windows. I have looked every where for an answer but but with no luck. I beleive there there must be a way of doing this, can some one please help asap. Thanks in advance, Barr -- http://mail.python.org/mailman

Non blocking read from stdin on windows.

2004-12-25 Thread barr
under unix with the select call. Can some one please explain how to do this in windows. thanks in advance. Barr -- http://mail.python.org/mailman/listinfo/python-list