mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
dbit
This commit is contained in:
@ -10,4 +10,5 @@ from sls_detector import dacIndex
|
||||
|
||||
d = Detector()
|
||||
e = Eiger()
|
||||
c = Ctb()
|
||||
c = Ctb()
|
||||
|
||||
|
13
python/scripts/cmd_python.py
Normal file
13
python/scripts/cmd_python.py
Normal file
@ -0,0 +1,13 @@
|
||||
import subprocess
|
||||
import locale
|
||||
out = subprocess.run(['g', 'list'], stdout = subprocess.PIPE, encoding=locale.getpreferredencoding())
|
||||
cmd = out.stdout.splitlines()
|
||||
cmd.pop(0)
|
||||
|
||||
from sls_detector import Detector, Eiger, Ctb
|
||||
|
||||
pycmd = dir(Detector)+dir(Eiger)+dir(Ctb)
|
||||
|
||||
for c in cmd:
|
||||
if c not in pycmd:
|
||||
print(c)
|
Reference in New Issue
Block a user