Source code for flat_export.sub2
# -*- coding: utf-8 -*-
# sub2.py
# import sys
# from . import * # ValueError: Attempted relative import in non-package
# import wrong_one # ImportError: No module named wrong_one
# some_sym # NameError: name 'some_sym' is not defined
__all__ = []
__all__.append('sub2_func')
[docs]def sub2_func():
"""Example function in module `sub1`."""
print('# sub2 !')
# :ide: COMPILE: Run w/o args
# . (progn (save-buffer) (compile (concat "PYTHONPATH=.. python -c 'import flat_export'")))
# :ide: COMPILE: Run w/o args
# . (progn (save-buffer) (compile (concat "python ./" (file-name-nondirectory (buffer-file-name)) " ")))