3 // Copyright (c) 2014 - Michele De Stefano (micdestefano@users.sourceforge.net)
5 // Distributed under the MIT License (See accompanying file LICENSE)
9 * \example fileobj_usage.pycmd
11 * Shows the usage of the fileobj_usage extension from the Python prompt.
14 mds_utils::python::FileObj usage example from the Python prompt:
16 >>> import fileobj_usage as fu
17 >>> fid = open('test','wb')
18 >>> fu.write_double(fid,9.8)
20 >>> fid = open('test','rb')
21 >>> v = fu.read_double(fid)