Popular recipes tagged "pywin32"http://code.activestate.com/recipes/tags/pywin32/popular/2013-03-22T11:14:44-07:00ActiveState Code RecipesEnable Clear Type font smoothing on Windows (pywin32 version) (Python)
2013-03-22T11:14:44-07:00ccpizzahttp://code.activestate.com/recipes/users/4170754/http://code.activestate.com/recipes/578499-enable-clear-type-font-smoothing-on-windows-pywin3/
<p style="color: grey">
Python
recipe 578499
by <a href="/recipes/users/4170754/">ccpizza</a>
(<a href="/recipes/tags/fontsmoothing/">fontsmoothing</a>, <a href="/recipes/tags/pywin32/">pywin32</a>, <a href="/recipes/tags/windows_api/">windows_api</a>).
Revision 2.
</p>
<p>Running the script without parameters will enable Clear Type font smoothing. Pass <code>0</code>, <code>false</code>, <code>off</code>, or <code>disable</code> to turn off Clear Type.</p>
<p>This version requires the <code>pywin32</code> module from <a href="http://sourceforge.net/projects/pywin32/files/pywin32/Build%2520218/" rel="nofollow">http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/</a></p>
<p>For a <code>ctypes</code>-based version see: <a href="http://code.activestate.com/recipes/578500-enable-clear-type-font-smoothing-on-windows-ctypes/" rel="nofollow">http://code.activestate.com/recipes/578500-enable-clear-type-font-smoothing-on-windows-ctypes/</a></p>
Manage environment variables on Windows (Python)
2011-03-31T18:27:57-07:00Sridhar Ratnakumarhttp://code.activestate.com/recipes/users/4169511/http://code.activestate.com/recipes/577621-manage-environment-variables-on-windows/
<p style="color: grey">
Python
recipe 577621
by <a href="/recipes/users/4169511/">Sridhar Ratnakumar</a>
(<a href="/recipes/tags/environment/">environment</a>, <a href="/recipes/tags/pywin32/">pywin32</a>, <a href="/recipes/tags/windows/">windows</a>).
Revision 7.
</p>
<p>This recipe facilitates getting and setting of both "user" and "system" environment variables on Windows. It uses PyWin32 (included in ActivePython) ... and works on both Python 2 and Python 3.</p>