John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:musings:watches:watchcheck

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:musings:watches:watchcheck [23/01/26 13:59 GMT] johnpublic:musings:watches:watchcheck [23/01/26 14:13 GMT] (current) john
Line 11: Line 11:
 You put the application in a directory specific to the watch and execute it from that You put the application in a directory specific to the watch and execute it from that
 directory. the data from each measurement is stored in a **json** file in the same directory. directory. the data from each measurement is stored in a **json** file in the same directory.
 +
 +** update 23/01/26 **  I've modified the code to run under Python 3 - using the tool ''2to3'' and a minor manual tweak.
 +
  
 ++++ watchcheck.py in Python 3 | ++++ watchcheck.py in Python 3 |
Line 219: Line 222:
 ++++ original watchcheck.py in python 2 | ++++ original watchcheck.py in python 2 |
  
-<code python>+<file python watchcheck.py>
  
 #! /usr/bin/env python #! /usr/bin/env python
Line 417: Line 420:
  
 menu() menu()
-</code>+</file>
  
 ++++ ++++
Line 424: Line 427:
  
 <code> <code>
 +
 Wire2waves WatchCheck..... Wire2waves WatchCheck.....
 ========================= =========================
Line 503: Line 507:
 ++++ original watchstat.py in python 2| ++++ original watchstat.py in python 2|
  
-<code python>+<file python watchstat.py> 
 #! /usr/bin/env python #! /usr/bin/env python
  
Line 608: Line 613:
  
 watch_stat() watch_stat()
-</code>+</file>
  
 ++++ ++++
Line 614: Line 619:
 ++++ watchstat.py in python 3 | ++++ watchstat.py in python 3 |
  
-<code python>+<file python watchstat.py>
  
 ## a text-terminal version of the WatchCheck app ## a text-terminal version of the WatchCheck app
Line 719: Line 724:
 watch_stat() watch_stat()
  
-</code>+</file>
  
 ++++ ++++
public/musings/watches/watchcheck.1769176778.txt.gz · Last modified: by john