Popular recipes tagged "display"http://code.activestate.com/recipes/tags/display/popular/2016-01-13T00:46:40-08:00ActiveState Code Recipesadd password masking ability to getpass.getpass() (Python)
2016-01-13T00:46:40-08:00KingMakhttp://code.activestate.com/recipes/users/4193393/http://code.activestate.com/recipes/579148-add-password-masking-ability-to-getpassgetpass/
<p style="color: grey">
Python
recipe 579148
by <a href="/recipes/users/4193393/">KingMak</a>
(<a href="/recipes/tags/character/">character</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/getpass/">getpass</a>, <a href="/recipes/tags/hiding/">hiding</a>, <a href="/recipes/tags/masking/">masking</a>, <a href="/recipes/tags/msvcrt/">msvcrt</a>, <a href="/recipes/tags/password/">password</a>, <a href="/recipes/tags/windows/">windows</a>).
</p>
<p>adding the ability to display a password masking character of the programmer's choice</p>
Pseudo-3D effect in text mode... (Bash)
2013-09-10T21:23:58-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578655-pseudo-3d-effect-in-text-mode/
<p style="color: grey">
Bash
recipe 578655
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/3d/">3d</a>, <a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/bash/">bash</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/text/">text</a>).
</p>
<p>This is just a simple DEMO to display a pseudo-3D effect using a bash script.
It generates a recessed box and a button and writes some thext inside bot.</p>
<p>There are two pieces of code, one for Linux, and one for OSX 10.7.5...</p>
<p>The Linux version also works on OSX 10.7.5 but is harder to see so a near
identical version using the default OSX terminal colours was craeted instead.</p>
<p>You will have to split the two code pieces up yourself to run...</p>
<p>Enjoy finding simple solutions to often very difficult problems...</p>
<p>Bazza...</p>
A Simple Clock, Well Maybe Not That Simple... (Bash)
2013-07-17T17:40:18-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578610-a-simple-clock-well-maybe-not-that-simple/
<p style="color: grey">
Bash
recipe 578610
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/clock/">clock</a>, <a href="/recipes/tags/digital/">digital</a>, <a href="/recipes/tags/digits/">digits</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/large/">large</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/readout/">readout</a>, <a href="/recipes/tags/terminal/">terminal</a>).
</p>
<p>Hi all...</p>
<p>Do you remember this little snippet?</p>
<p><a href="http://code.activestate.com/recipes/578079-pure-fun-for-text-mode-python/?in=user-4177147" rel="nofollow">http://code.activestate.com/recipes/578079-pure-fun-for-text-mode-python/?in=user-4177147</a></p>
<p>Well it was voted down, but who cares? I surely don't!
So to those that voted this FUN piece of Python coding down, you are now about to see what
the aim was.</p>
<p>However although I have subsequently done what I said I would, that is, to create large digits
as an _at_a_glance_ digital readout for a project in Python I have decided not to upload it.
However I have decided to let this one go as a bash/shell script instead.</p>
<p>It is a nothing but a simple clock, well, maybe not that simple; but as I am into shell
stuff at the moment I thought I would share this with you.</p>
<p>The terminal does have its colours changed and the cursor disabled for the session but
I expect you big guns to be able to return back to normal in a jiffy.</p>
<p>I am an amateur coder and if that is easy for me then you pros should have no problems.</p>
<p>This code is not like most of my other stuff as is NOT Public Domain...</p>
<p>It is only a DEMO to see what an at a glance display would look like in a terminal.</p>
<p>Move away to a distance and see which of the two time readings you can still read... ;o)</p>
<p>It is for a Macbook Pro 13" OSX 10.7.5 and uses bash imode.
It will probably work on most Linux machines too but I haven't tested it...</p>
<p>This is purely a DEMO only and any other special effects, (e.g. flashing colon every second),
alram, etc, I have already experimented with and is easy enough to do...</p>
<p>My intention is to use this as a kids level text mode digital voltmeter I am doing.</p>
<p>Enjoy...</p>
<p>Bazza...</p>
A DEMO 6 Bit At A Glance Colouerd Bargraph Generator. (Bash)
2013-01-16T12:26:55-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578391-a-demo-6-bit-at-a-glance-colouerd-bargraph-generat/
<p style="color: grey">
Bash
recipe 578391
by <a href="/recipes/users/4177147/">Barry Walker</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/bargraph/">bargraph</a>, <a href="/recipes/tags/bash/">bash</a>, <a href="/recipes/tags/beep/">beep</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/generator/">generator</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>).
Revision 2.
</p>
<p>This code generates a horizontal coloured real time bargraph generator anim for a Macbook Pro 13 inch, OSX 10.7.5, using the default standard Terminal only.</p>
<p>It is UNTESTED on Linux variants but I would like any successful Linux tryers to make a comment in the comments section and tags will be added accordingly otherwise I will assume it does NOT work on other UNIX like variants.</p>
<p>It is a derivative of my 7 bit bargraph generator for Python on this site elsewhere.</p>
<p>The Terminal colours WILL be changed on running but it is simple to return it back to its original state.</p>
<p>Read the code for more information.</p>
<p>Enjoy, (and a Happy New Year)...</p>
<p>Bazza, G0LCU...</p>
For MacBook_Pro-Heads Only. Simple LF Audio Oscilloscope Using Standard Text Mode Python. (Python)
2012-10-07T14:15:55-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578282-for-macbook_pro-heads-only-simple-lf-audio-oscillo/
<p style="color: grey">
Python
recipe 578282
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/oscilloscope/">oscilloscope</a>, <a href="/recipes/tags/pyaudio/">pyaudio</a>, <a href="/recipes/tags/scope/">scope</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>For MacBook_Pro-Heads Only. Simple LF Audio Oscilloscope Using Standard Text Mode Python.</p>
<p>SimpleScope_OSX.py</p>
<p>Do you remember this upload from myself on 26-06-2011...</p>
<p><a href="http://code.activestate.com/recipes/577771-simple-lf-audio-oscilloscope-using-standard-text-m/?in=user-4177147" rel="nofollow">http://code.activestate.com/recipes/577771-simple-lf-audio-oscilloscope-using-standard-text-m/?in=user-4177147</a></p>
<p>Well here is an August 2012 vintage MacBook Pro 13 inch version of it for OSX 10.7.5...</p>
<p>This is proof of concept code for a kids level project I am doing for a MacBook Pro, 13 inch, OSX 10.7.5.
A DEMO to show how to display a waveform using standard text mode Python.
"pyaudio" must be installed for this to work.
Levels are set using the standard audio mixers, (System Preferences -> Sound).</p>
<p>Just whistle a signal of say 300Hz to 3KHz, (normal voice spectrum), using say, the internal mic, and watch a waveform appear inside the X-Y graticule.</p>
<p>Read the code for more information.</p>
<p>$VER: SimpleScope_OSX.py_Version_0.00.10_(C)2012_B.Walker_G0LCU.</p>
<p>This code is GPL2, but, the hardware information is Public Domain.</p>
<p>(I am looking into including Windows and Linux variants too using pyaudio to access the sound system.)</p>
<p>Enjoy finding simple solutions to often very difficult problems.</p>
<p>Bazza, G0LCU...</p>
Colo(u)rs Inside Text Mode Python... (Python)
2012-08-21T21:01:57-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578101-colours-inside-text-mode-python/
<p style="color: grey">
Python
recipe 578101
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/amiga/">amiga</a>, <a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</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/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>).
Revision 2.
</p>
<p>A simple DEMO to show how to enhance Python inside a Terminal. This works on Classic AMIGAs, E-UAE,
Debian Linux 6.0.0, PCLinuxOS 2009, Windows XP and Vista and WinUAE, from Python 1.4.0 to 3.3A2.</p>
<p>Due to a complaint about my _fun_ upload recently I decided to post this so that the MANY can now
find out how to manipulate text inside a Python Terminal window so that it looks much better.</p>
<p>Read the code for more information...</p>
<p>Enjoy finding simple solutions to often very difficult problems...</p>
<p>Bazza...</p>
Pure Fun For Text Mode Python... (Python)
2012-04-02T21:30:18-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/578079-pure-fun-for-text-mode-python/
<p style="color: grey">
Python
recipe 578079
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/apple/">apple</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>).
Revision 2.
</p>
<p>Printing to the screen with a difference. ;oD</p>
<p>Works on almost any version of Python running in a terminal inside Linux.</p>
<p>(C)2012, B.Walker, G0LCU...</p>
Kids 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>
Simple LF Audio Oscilloscope Using Standard Text Mode Python. (Python)
2011-06-26T21:42:55-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577771-simple-lf-audio-oscilloscope-using-standard-text-m/
<p style="color: grey">
Python
recipe 577771
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/oscilloscope/">oscilloscope</a>, <a href="/recipes/tags/scope/">scope</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>A Linux DEMO to show how to display a waveform using standard text mode Python.
The audio device /dev/dsp is used and must be available. Levels are set using the
standard audio mixers.</p>
<p>Just feed a signal of say 300Hz to 3KHz, (normal voice spectrum), using say, the
internal mic, and watch the waveform appear inside the X-Y graticule.</p>
<p>This method WILL be used for a program proper and may be uploaded to this site
in the future.</p>
<p>Read the code for more information.</p>
<p>This code is Public Domain and you may do with it as you please.</p>
<p>Enjoy finding simple solutions to often very difficult problems.</p>
SimpleTron3x.py "Game" To DEMO XY Drawing Using The Keyboard In Standard Text Mode Python. (Python)
2011-05-29T14:28:19-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577728-simpletron3xpy-game-to-demo-xy-drawing-using-the-k/
<p style="color: grey">
Python
recipe 577728
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/game/">game</a>, <a href="/recipes/tags/linux/">linux</a>).
</p>
<p>SimpleTron3x.py.</p>
<p>This code is a FUN program only to DEMO how to draw in a text mode Python shell.</p>
<p>There is an inkey() "function" extracted from a "class" recipe on this site.
See code for more information.</p>
<p>This was tested on PCLinuxOS 2009 with Python 3.0.x and Debian 6.0.0 with Python 3.1.x.</p>
<p>This ASSUMES an 80 x 24 Python shell window.</p>
<p>Issued as Public Domain, you may do as you like with this code.</p>
<p>Enjoy finding simple solutions to often very difficult problems.</p>
<p>Bazza...</p>
Simple LF Audio Oscilloscope Using Standard Python. (Python)
2011-04-07T17:17:57-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577644-simple-lf-audio-oscilloscope-using-standard-python/
<p style="color: grey">
Python
recipe 577644
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/oscilloscope/">oscilloscope</a>, <a href="/recipes/tags/scope/">scope</a>, <a href="/recipes/tags/sound/">sound</a>).
</p>
<p>AudioScope.py</p>
<p>I think this might be a first for both Python.</p>
<p>Initially uploaded to LXF, now also here under the MIT licence.</p>
<p>I am building a kids level seismometer and wanted to use standard Python inside Linux.</p>
<p>This DEMO code was my starter idea and looks as though using standard ASCII only might just work a real treat.</p>
<p>I've issued it to LXF under the MIT licence for future reasons.</p>
<p>It doesn't look much on screen except that the waveform(s) shown is/are a basic visual, electrical representation
of your voice. ;o)</p>
<p>It is possible to link the earphone socket on this notebook to the mic input and start the Audio Function
Generator, elsewhere in this site, in a separate Python terminal and see those waveforms inside the
AudioScope.py`s own Python terminal.</p>
<p>This grabs a 1 second 8KB burst, and then displays it onto the Python terminal. The timebase, amplitude, trigger,
single shot and others are not included but the main grab and display using /dev/dsp is shown. This can be made
platform independent by changing the /dev/dsp to something external like the Arduino Dev Board. This uses
STANDARD Python 2.5.x and later and tested on PCLinuxOS 2009 and Debian 6.0.0.</p>
<p>Enjoy finding simple solutions to often very difficult problems.</p>
<p>Bazza, G0LCU.</p>
An EM87/6HU6 Magic Eye Valve/Tube Animation DEMO... (Python)
2011-05-15T10:21:10-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577695-an-em876hu6-magic-eye-valvetube-animation-demo/
<p style="color: grey">
Python
recipe 577695
by <a href="/recipes/users/4177147/">Barry Walker</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/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/macbook_pro/">macbook_pro</a>, <a href="/recipes/tags/windows/">windows</a>).
</p>
<p>This DEMO displays the action of an EM87 Magic Eye tuning indicator using a standard Python 2.6.x or greater install. It is for at least Windows Vista 32 Bit and at least Debian Linux 6.0.0.</p>
<p>It is for FUN only and shows how to generate yet another analogue display using a default text mode install.</p>
<p>With careful thought and viewing between Code Page 850, (Windows Vista onwards), and Code Page 437, (EFFECTIVELY Linux), one can pick the "graphics" characters to generate some interesting old style text mode displays on screen.</p>
<p>Enjoy finding simple solutions to often very difficult problems...</p>
<p>Bazza...</p>
DUAL 4 Bit Vertical Coloured Analogue Bar Graph Generator DEMO... (Python)
2011-05-04T17:58:08-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577685-dual-4-bit-vertical-coloured-analogue-bar-graph-ge/
<p style="color: grey">
Python
recipe 577685
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/analogue/">analogue</a>, <a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/bargraph/">bargraph</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>).
</p>
<p>This is a two channel version of the "Four Bit Vertical Coloured Analogue Bar Graph Generator DEMO...".</p>
<p>These are DUAL LED style "VU" meters in the vertical plane...</p>
<p>This is for standard Python 3.x.x.</p>
<p>It has different overload beeps for each channel, and has all the unwanted code has been removed.</p>
<p>It demonstrates how to obtain multichannel ability, (it is possible to add more channels).</p>
<p>Enjoy finding simple solutions to often very difficult problems...</p>
<p>Bazza...</p>
Seven Bit Colored Analogue Bar Graph Generator DEMO... (Python)
2011-03-17T22:14:52-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577612-seven-bit-colored-analogue-bar-graph-generator-dem/
<p style="color: grey">
Python
recipe 577612
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/analogue/">analogue</a>, <a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/bargraph/">bargraph</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>).
Revision 3.
</p>
<p>..For STANDARD Python 2.6 and above...</p>
<p>This code will display a horizontal full colour analogue "VU" style meter. It displays green for normal, yellow
for warning and red for danger with a critical error beep near the end of full scale, at value 120+.</p>
<p>This version is for Python 2.6 and above and only for the Linux, (*nix?), platform.</p>
<p>It is an "at a glance" display that is in colour rather than having to read say a digitally generated number.</p>
<p>A Python 3.x version can be found here:-</p>
<p><a href="http://www.linuxformat.com/forums/viewtopic.php?t=13443" rel="nofollow">http://www.linuxformat.com/forums/viewtopic.php?t=13443</a></p>
<p>This has uses "for at a glance" voltmeters, ammeters, data-loggers, anemometers etc, etc...</p>
<p>Watch for wordwrapping etc...</p>
<p>NOTE:- This is Public Domain and you may do with it as you please.</p>
<p>73...</p>
<p>Bazza, G0LCU...</p>
<p>Team AMIGA...</p>
Four Bit Vertical Coloured Analogue Bar Graph Generator DEMO... (Python)
2011-04-23T20:50:55-07:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577675-four-bit-vertical-coloured-analogue-bar-graph-gene/
<p style="color: grey">
Python
recipe 577675
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/analogue/">analogue</a>, <a href="/recipes/tags/anim/">anim</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/bargraph/">bargraph</a>, <a href="/recipes/tags/color/">color</a>, <a href="/recipes/tags/colour/">colour</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/linux/">linux</a>).
</p>
<p>This is a(n) LED style "VU" meter in the vertical plane instead of the horizontal one in the recipe below:-</p>
<p><a href="http://code.activestate.com/recipes/577612-seven-bit-colored-analogue-bar-graph-generator-dem/?in=lang-python" rel="nofollow">http://code.activestate.com/recipes/577612-seven-bit-colored-analogue-bar-graph-generator-dem/?in=lang-python</a></p>
<p>It is another "AT A GLANCE" display with an overload error beep too.</p>
<p>This is for Linux only and tested on Python 2.6.x although it should work on earlier 2.x.x versions.</p>
<p>A Python 3.x.x version can be found here:-</p>
<p><a href="http://www.linuxformat.com/forums/viewtopic.php?t=13637" rel="nofollow">http://www.linuxformat.com/forums/viewtopic.php?t=13637</a></p>
<p>This is issued as Public Domain and you may do with it as you please.</p>
<p>Enjoy finding simple solutions to often very difficult problems...</p>
Clear screen and beep for various platforms. (Python)
2011-02-26T14:26:02-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577588-clear-screen-and-beep-for-various-platforms/
<p style="color: grey">
Python
recipe 577588
by <a href="/recipes/users/4177147/">Barry Walker</a>
(<a href="/recipes/tags/amiga/">amiga</a>, <a href="/recipes/tags/audio/">audio</a>, <a href="/recipes/tags/beep/">beep</a>, <a href="/recipes/tags/clearscreen/">clearscreen</a>, <a href="/recipes/tags/display/">display</a>, <a href="/recipes/tags/error_beep/">error_beep</a>, <a href="/recipes/tags/error_sound/">error_sound</a>, <a href="/recipes/tags/e_uae/">e_uae</a>, <a href="/recipes/tags/linux/">linux</a>, <a href="/recipes/tags/screenclear/">screenclear</a>, <a href="/recipes/tags/sound/">sound</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>).
</p>
<p>This little module gives a clear screen and beep for the classic AMIGA, WinUAE, Windows and Linux all in
CLI/Command-Prompt/Terminal mode.</p>
<p>It works from Python 1.4.x to 2.7.x; talk about backwards compatibility... ;oD
With very little modification it will work on Python 3.x.x easily.)</p>
<p>See the file clsbeep.py attached for more information.</p>
<p>it is saved as clsbeep.py and placed into the Python - Lib drawer or where-ever the modules are located
and called as a module:-</p>
<pre class="prettyprint"><code>>>> import clsbeep
</code></pre>
<p>Its usage is:-</p>
<p>clsbeep.cls() and clears the screen.
clsbeep.beep() and creates an error beep.
clsbeep.both() creates an error beep first then clears the screen.</p>
<p>It is Public Domain and if you modify it to suit other platforms please let me have a copy of your code... :)</p>
<p>Enjoy finding simple solutions to often very difficult problems. ;o)</p>
Simple analogue anim and digital voltmeter with alarm DEMO... (Python)
2011-03-04T19:47:37-08:00Barry Walkerhttp://code.activestate.com/recipes/users/4177147/http://code.activestate.com/recipes/577596-simple-analogue-anim-and-digital-voltmeter-with-al/
<p style="color: grey">
Python
recipe 577596
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/audio/">audio</a>, <a href="/recipes/tags/demo/">demo</a>, <a href="/recipes/tags/digital/">digital</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/voltmeter/">voltmeter</a>, <a href="/recipes/tags/windows/">windows</a>, <a href="/recipes/tags/winuae/">winuae</a>).
</p>
<p>I needed a simple standard Python analogue and digital display along with an overload beep when used as a
basic voltmeter.</p>
<p>Analogue readout, for quick glance.
Digital readout, for better accuracy.
Beep, to warn me of impending doom... ;o)</p>
<p>This was my starter code and works from Python 1.4.x to 2.7.x on MINIMUM platforms, AMIGA A1200, MS Windows ME
and Knoppix 5.1.1. It is a stand alone program and the easiest way to start it is to import it as though it is
a module.</p>
<p>(I DO have a Python 3.x.x version too and WILL be uploaded here in the future.)</p>
<p>Although this is a DEMO it did access, (home built), HW from various ports on differing platforms.</p>
<p>This module IS needed for it to work:-</p>
<p><a href="http://code.activestate.com/recipes/577588-clear-screen-and-beep-for-various-platforms/?in=lang-python" rel="nofollow">http://code.activestate.com/recipes/577588-clear-screen-and-beep-for-various-platforms/?in=lang-python</a></p>
<p>These simple HW access modes using standard Python code WILL be released in the future.</p>
<p>This DEMO is released as Public Domain and you may modify it as you please...</p>
<p>Enjoy finding simple solutions to often very difficult problems...</p>
<p>73...</p>
<p>Bazza, G0LCU...</p>
<p>Team AMIGA...</p>