Re: Binary I/O

Jaap Vermeulen (jaap@sequent.com)
Mon, 15 Aug 94 23:36:38 GMT

In <32g91d$im8@ncar.ucar.edu> thor@ymir.atd.ucar.edu (Rich Neitzel) writes:

>Is there any way to read/write integers, doubles, etc. except as strings?
>I want to use python to control a realtime system via sockets. The
>overhead of converting to/from strings is more then I want to inflict on
>the realtime system.

Check out the module 'marshal'.

-Jaap-

-- 
Jaap Vermeulen					+--------------------------+
						| Sequent Computer Systems |
	Internet : jaap@sequent.com		| Beaverton, Oregon	   |
	Uucp	 : ...uunet!sequent!jaap	+--------------------------+