Untitled
unknown
plain_text
a month ago
2.1 kB
1
Indexable
Never
from docx import Document # Create a new Document doc = Document() # Add Title doc.add_heading('Company Organizational Structure', 0) # Add content doc.add_heading('1. Chairman & Managing Director', level=1) doc.add_paragraph('Reports to the Board of Directors.') doc.add_heading('2. Chief Executive Officer (CEO)', level=1) doc.add_paragraph('Direct Reports:') doc.add_paragraph('- Chief Operations Officer (COO)', style='List Bullet') doc.add_paragraph('- Chief Financial Officer (CFO)', style='List Bullet') doc.add_paragraph('- Chief Marketing Officer (CMO)', style='List Bullet') doc.add_paragraph('- Chief Human Resources Officer (CHRO)', style='List Bullet') doc.add_paragraph('- Chief Information Officer (CIO)', style='List Bullet') doc.add_heading('3. Operations Department', level=1) doc.add_paragraph('General Manager of Operations') doc.add_paragraph('Production Manager', style='List Bullet') doc.add_paragraph('Supervisors (Manufacturing Units)', style='List Bullet') doc.add_heading('4. Finance & Accounts Department', level=1) doc.add_paragraph('General Manager of Finance') doc.add_paragraph('Finance Managers', style='List Bullet') doc.add_paragraph('Accountants', style='List Bullet') doc.add_heading('5. Human Resources Department', level=1) doc.add_paragraph('General Manager of HR') doc.add_paragraph('HR Officers', style='List Bullet') doc.add_paragraph('Recruitment Manager', style='List Bullet') doc.add_paragraph('Training Manager', style='List Bullet') doc.add_heading('6. Marketing & Sales Department', level=1) doc.add_paragraph('General Manager of Sales') doc.add_paragraph('Sales Executives', style='List Bullet') doc.add_paragraph('Regional Sales Managers', style='List Bullet') doc.add_paragraph('Marketing Coordinators', style='List Bullet') doc.add_heading('7. IT Department', level=1) doc.add_paragraph('General Manager of IT') doc.add_paragraph('System Administrators', style='List Bullet') doc.add_paragraph('Network Engineers', style='List Bullet') # Save document doc_path = '/mnt/data/Organizational_Structure.docx' doc.save(doc_path) doc_path
Leave a Comment