Benutzer-Werkzeuge

Webseiten-Werkzeuge


python_huw_code

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
python_huw_code [2015/09/12 21:51] 192.168.1.68python_huw_code [2022/01/09 14:41] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 2: Zeile 2:
 ===== Modules ===== ===== Modules =====
 ==== Init ==== ==== Init ====
 +  - init variables
 +  - init classes
 +  - calls all inits direct available
 +  - init or open db
 ==== read parameter ==== ==== read parameter ====
 +  - need file and db
 +  - check availability of parameter file
 +  - read file into classes
 +  - log all read values into db
 ==== notification ==== ==== notification ====
 +  - send email
 +  - log into db
 +  - if error in send or db write, try to log to file
 ==== logging ==== ==== logging ====
 +  - write to db
 +  - in case of error use Notification
 ==== check ==== ==== check ====
 ==== measure ==== ==== measure ====
Zeile 16: Zeile 29:
 ===== principles ===== ===== principles =====
 ==== Error management ==== ==== Error management ====
 +  - check # of parameter of calls
 +  - check length, range, values of calls
 +  - use <code> try ... except </code>
 +  - use one global Exit procedure
 ==== module test ==== ==== module test ====
 ==== literals ==== ==== literals ====
Zeile 31: Zeile 48:
   - txt: text   - txt: text
  
-==== used variables ====+==== Variables ==== 
 +=== Principles === 
 +  - avoid "global" variables 
 + 
 +==Used Variables === 
 + 
   - cnt: counter   - cnt: counter
   - data: bin data   - data: bin data
Zeile 47: Zeile 70:
  
 ==== OS ==== ==== OS ====
 +  - only linux
 ==== Python ==== ==== Python ====
 +  - 2.7
  
  
python_huw_code.1442087469.txt.gz · Zuletzt geändert: (Externe Bearbeitung)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki