Python writing to a linux /proc/mystats file
<p>Several articles show how to read data from a linux /proc/xxx file, such as: <a href="http://stackoverflow.com/questions/1052589/how-can-i-parse-the-output-of-proc-net-dev-into-keyvalue-pairs-per-interface-us">How can I parse the output of /proc/net/dev into key:value pairs per interface using Python?</a></p>

<p>How do I set up a Python application to create and write to my own /proc/mystats file so other processes can monitor it?</p>
