Significant decomposition

Script to decompose a given number by its signifcant potencies

returns: [numPot], [Potlist], [Diglist]
[numPot]: number of potencies
  [Potlist]: list of potencies
  [Diglist]: list of digits
 Thus:
  num <> np.sum([Diglist]*10.**[Potlist])

num= number to decompose
minpot= minumum potence to decompose
$ python ${pyHOME}/generic.py -o significant_decomposition -S 3.141592,-6
(8, [0.0, -1.0, -2.0, -3.0, -4.0, -5.0, -6.0], [3, 1, 4, 1, 5, 9, 2])