[SAGA-RG] SAGA Python language binding naming.
Andre Merzky
andre at merzky.net
Thu Aug 14 13:26:13 CDT 2008
Quoting [Fisher, SM (Steve)] (Aug 14 2008):
>
> Hi,
>
> Sorry to be late commenting. A python module is a file and the package
> structure corresponds to a directory tree - so clearly we need multiple
> modules arranged in packages.
>
> I would also suggest that enum like variables be entirely in capitals
>
> I don't find that: bytes_read = f.read (buffer, len) is very pythonesqe.
> Surely it should be buffer = f.read() and len(buffer) will tell you what
> you have got.
But how can you then specify that you want to read 20 bytes,
instead of the whole 20GB file?
> Is this a complete Python implementation or is it a wrapper around C++?
Our implementation wraps around C++. If I am not mistaken,
Pauls implementation will wrap around Java (using Jython)?
Cheers, Andre.
> Steve
--
Nothing is ever easy.
More information about the saga-rg
mailing list