Latest recipes tagged "meta:loc=236"http://code.activestate.com/recipes/tags/meta:loc=236/new/2011-07-31T16:14:48-07:00ActiveState Code RecipesKids Level Analogue Data Logger, (Transient Recorder), Program. (Python)
2011-07-31T16:14:48-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577796-kids-level-analogue-data-logger-transient-recorder/
<p style="color: grey">
Python
recipe 577796
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/amiga/">amiga</a>, <a href="/recipes/tags/analogue/">analogue</a>, <a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/arduino/">arduino</a>, <a href="/recipes/tags/data/">data</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/e_uae/">e_uae</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/logger/">logger</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/program/">program</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>).
Revision 2.
</p>
<p>This code is kids level Analogue Data-Logger(/Transient-Recorder), using the Arduino series of dev' boards.</p>
<p>It is no where near completion and is a second feeder/feeler upload only.</p>
<p>It is designed to work from Classic Text Mode Python from Versions 1.4.0 to 2.7.2 on a Classic AMIGA, WinUAE, Linux and Windows, (32 bit), to Vista.
Not tested on Python for Windows 7, (32 bit), nor Mac OSX flavours as I don't have these OSes.</p>
<p>Linux versions run from a default root terminal for the time being.</p>
<p>The Arduino dev' board IS catered for in the code for the above platforms just thoroughly read the code for more information. It defaults to a DEMO mode so you can see it working...</p>
<p>The test code for the Arduino Diecimila Dev Board is here:-</p>
<p><a href="http://code.activestate.com/recipes/577625-arduino-diecimila-board-access-inside-winuae-demo/" rel="nofollow">http://code.activestate.com/recipes/577625-arduino-diecimila-board-access-inside-winuae-demo/</a></p>
<p>Enjoy finding simple solutions to often very difficult problems... ;o)</p>
<p>Bazza, G0LCU...</p>
ElementTree Wrapper (Python)
2008-09-05T13:20:42-07:00David Pokornyhttp://code.activestate.com/recipes/users/4166601/http://code.activestate.com/recipes/576445-elementtree-wrapper/
<p style="color: grey">
Python
recipe 576445
by <a href="/recipes/users/4166601/">David Pokorny</a>
(<a href="/recipes/tags/web/">web</a>, <a href="/recipes/tags/xml/">xml</a>).
Revision 12.
</p>
<p>This class wraps cElementTree.Element to make creating and serializing xml elements easier.</p>
Treat the Win32 Registry like a Python dict -- updated (again!) (Python)
2008-06-21T08:12:09-07:00Chris Melvillehttp://code.activestate.com/recipes/users/103458/http://code.activestate.com/recipes/573466-treat-the-win32-registry-like-a-python-dict-update/
<p style="color: grey">
Python
recipe 573466
by <a href="/recipes/users/103458/">Chris Melville</a>
(<a href="/recipes/tags/sysadmin/">sysadmin</a>).
Revision 4.
</p>
<p>This class wraps most of the win32api functions for accessing a registry. It will read and write all win32 registry types, and will de/serialize python objects to registry keys when a string or integer representation is not possible.</p>
<p>This is an update of <a href="http://code.activestate.com/recipes/551761/">recipe 551761</a>, which is in turn an update of 174627, folding in the enhancements listed in the discussion there to allow registry value types to be read and written within the dictionary metaphore if required. It doesnt change how it worked before, it adds a new capability, and shouldnt break existing code using the 551761 version.</p>