File: __init__.py

package info (click to toggle)
python-pyqtgraph 0.13.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,520 kB
  • sloc: python: 52,773; makefile: 115; ansic: 40; sh: 2
file content (21 lines) | stat: -rw-r--r-- 585 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
### just import everything from sub-modules

#import os

#d = os.path.split(__file__)[0]
#files = []
#for f in os.listdir(d):
    #if os.path.isdir(os.path.join(d, f)):
        #files.append(f)
    #elif f[-3:] == '.py' and f != '__init__.py':
        #files.append(f[:-3])
    
#for modName in files:
    #mod = __import__(modName, globals(), locals(), fromlist=['*'])
    #if hasattr(mod, '__all__'):
        #names = mod.__all__
    #else:
        #names = [n for n in dir(mod) if n[0] != '_']
    #for k in names:
        ##print modName, k
        #globals()[k] = getattr(mod, k)