How to make Camera exporter?

Hello everyone! I’m new to Python scripting. I’d like to make a script which can be exporter Camera coordinates as Hex/Binary file format. I’m still confusing how I must to start for it? Thanks.

by camera coordinates you mean the camera object’s location (as seen in properties editor, object tab)?

You can access that for the current object like


Writing binary data isn’t related to Blender by any means, check out the python docs etc.