Hi, Suppose that I have file1.py, ..., filen.py in a module directory.
I want to import all the thing (or the ones available in the respective __all__) defined in each of the file by putting the following lines in __init__.py from file1 import * .... from filen import * However, I don't want to hardcode the file names in __init__.py. Is there an automatic way of doing it? -- Regards, Peng -- https://mail.python.org/mailman/listinfo/python-list