pyWebLayout/pyWebLayout/__main__.py

13 lines
337 B
Python

import os
import sys
# Add the parent directory to sys.path for direct execution
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
# Now import the example module
from pyWebLayout.example import save_examples
if __name__ == "__main__":
print("Running PyWebLayout examples...")
save_examples()