Rustom Mody wrote:
>On Tuesday, September 2, 2014 6:05:19 AM UTC+5:30, Tim Roberts wrote:
>> Rustom Mody wrote:
>
>> >On Tuesday, August 26, 2014 6:58:42 AM UTC+5:30, Tim Roberts wrote:
>
>> >> To the equivalent code with struct:
>> >> import struct
>> >> dscrp = "H?fs5B"
>> >> f = open('fi
On Tuesday, September 2, 2014 6:05:19 AM UTC+5:30, Tim Roberts wrote:
> Rustom Mody wrote:
> >On Tuesday, August 26, 2014 6:58:42 AM UTC+5:30, Tim Roberts wrote:
> >> To the equivalent code with struct:
> >> import struct
> >> dscrp = "H?fs5B"
> >> f = open('file.dat')
> >> stuff = struct
Rustom Mody wrote:
>On Tuesday, August 26, 2014 6:58:42 AM UTC+5:30, Tim Roberts wrote:
>> To the equivalent code with struct:
>
>> import struct
>
>> dscrp = "H?fs5B"
>
>> f = open('file.dat')
>> stuff = struct.unpack( dscrp, f.read() )
>
>> print stuff
>
>> In both cases, you have to
On Tuesday, August 26, 2014 6:58:42 AM UTC+5:30, Tim Roberts wrote:
> bwatas wrote:
> >binario is the Python package that lets an application read/write primitive
> >data types from an underlying input/output file as binary data.
> >Package on PyPI: https://pypi.python.org/pypi/binario
> >Package
bwa...@gmail.com wrote:
>
>binario is the Python package that lets an application read/write primitive
>data types from an underlying input/output file as binary data.
>
>Package on PyPI: https://pypi.python.org/pypi/binario
>Package on GitHub: https://github.com/asaskevich/binario
>Docs: http://b
On 25/08/2014 10:58, Алексей Саскевич wrote:
Package works directly with files and has similar structure with Java's
DataInputStream/DataOutputStream classes.
Can construct read/write data from files?
Frankly I've no idea and without any context it's impossible to tell.
What were you discuss
On Monday, August 25, 2014 3:28:28 PM UTC+5:30, Алексей Саскевич wrote:
> Package works directly with files and has similar structure with Java's
> DataInputStream/DataOutputStream classes.
> Can construct read/write data from files?
I guess so. See parse_stream:
http://construct.readthedocs.org
Package works directly with files and has similar structure with Java's
DataInputStream/DataOutputStream classes.
Can construct read/write data from files?
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, August 23, 2014 9:54:05 PM UTC+5:30, Алексей Саскевич wrote:
> binario is the Python package that lets an application read/write primitive
> data types from an underlying input/output file as binary data.
> Package on PyPI: https://pypi.python.org/pypi/binario
> Package on GitHub: ht
binario is the Python package that lets an application read/write primitive
data types from an underlying input/output file as binary data.
Package on PyPI: https://pypi.python.org/pypi/binario
Package on GitHub: https://github.com/asaskevich/binario
Docs: http://binarios-docs.readthedocs.org/en/
10 matches
Mail list logo