Popular recipes tagged "register_table"http://code.activestate.com/recipes/tags/register_table/2008-08-18T20:10:34-07:00ActiveState Code Recipesexport variable on win32 like *nix (Python)
2008-08-18T20:10:34-07:00winterTTr Donghttp://code.activestate.com/recipes/users/4164498/http://code.activestate.com/recipes/576431-export-variable-on-win32-like-nix/
<p style="color: grey">
Python
recipe 576431
by <a href="/recipes/users/4164498/">winterTTr Dong</a>
(<a href="/recipes/tags/register_table/">register_table</a>, <a href="/recipes/tags/windows/">windows</a>).
Revision 4.
</p>
<p>Export variable PERMANENTLY on win32 , without needing to reboot system.</p>
<p>EXAMPLE:</p>
<p>import win32export</p>
<p>win32export.export("fooname" , "foovalue")</p>
<p>NOTE: </p>
<p>you need to install "pywin32" if you want to use this .</p>