import os import sys # Add the templates directory to the Python path templates_dir = os.path.join(os.path.dirname(os.path.abspath(__file__)), "templates") sys.path.append(templates_dir) # Import the template creation functions from create_templates import ( create_professional_template, create_modern_template, create_academic_template ) def main(): """Create resume templates in the current working directory.""" print("Creating resume templates in the current directory...") # Create templates create_professional_template() create_modern_template() create_academic_template() print("All templates created successfully in the current directory!") # List created templates templates = [f for f in os.listdir(".") if f.endswith("_Template.docx")] print(f"Templates available: {templates}") if __name__ == "__main__": main()