Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

This Python script uses the xlsxwriter library to generate a structured Excel file containing detailed assembly part information. Ideal for engineering or manufacturing documentation, it supports custom headers, optional fields, and organized data export in spreadsheet format for easy sharing and review.

Notifications You must be signed in to change notification settings

thendralmagudapathi/Creating-Excel-using-Python

Repository files navigation

Excel File Creator using Python and XlsxWriter

This Python script creates a structured Excel file using the xlsxwriter library. It populates a worksheet with detailed part information such as assembly components, revision numbers, material specifications, and approvals. This is useful for managing and exporting Bill of Materials (BoM), design specifications, or manufacturing records in a clean and professional Excel format.

πŸš€ Features

  • Creates a new Excel workbook and worksheet
  • Writes custom headers and formats for documentation
  • Supports structured entry of assembly part details
  • Handles optional/missing fields gracefully
  • Easy to customize or extend with more fields

πŸ“¦ Dependencies

Install the required package using pip:

pip install xlsxwriter

πŸ“‚ How to Use

  1. Clone or download the script.
  2. Run the script:
python create_excel.py
  1. An Excel file named Creating Excel Task.xlsx will be generated in the current directory with a worksheet named "Sheet 1".

πŸ“Š Output Preview

S.No Assembly Parts Standard Part Revision Number Status Part Number Weight Material Quantity Notes Date Designed By Detailed Approved By Custom Scale Custom Paper Size Orientation
1 Lever SA No 2 Not Released L1254 120 SS316 1 Remove Burns, Chamfer sharp edges 22/10/2023 James John Michael 0.5 A1
...

πŸ“˜ Notes

  • Empty fields in the entry dictionary will appear as blank cells.
  • The column headers can be adjusted to suit your specific document structure.
  • Useful for documentation in engineering, manufacturing, or design workflows.

About

This Python script uses the xlsxwriter library to generate a structured Excel file containing detailed assembly part information. Ideal for engineering or manufacturing documentation, it supports custom headers, optional fields, and organized data export in spreadsheet format for easy sharing and review.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /