Am 04.11.2015 um 14:46 schrieb Martin Patzak (GMX): > > I do not import ow or ownet, but read the file directly in the > file-system mounted by owfs > I started out years ago with perl and then transferred part to python. I > never got around using ow or ownet. > In that case, your problem is not related to owfs, but to concurrent writing/reading a file. If you read a simple text file which is written by another process at the same time as you read it you get exactly the same problem.
> Can I read the \0 with a python .read() command? > There is no way you can get around the concurrent access limitation file have. I recommend you to turn away from the owfs pseudofilesystem and use one of the language bindings. Or exec() the "owput" and "owget" utilities from python in conjunction with an owserver acting as the actual onewire driver. Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers