agentsclimarketplace

Pyqt5 file selection and excel export

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/pyqt5-file-selection-and-excel-export

Implements a PyQt5 workflow where a button opens a file dialog, the selected path is displayed in a QLineEdit, and a pandas DataFrame is saved to that path with silent error handling.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill pyqt5-file-selection-and-excel-export

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.7 KB, 246 tokens by cl100k_base, as published. Nobody here has run it

PyQt5 File Selection and Excel Export

Implements a PyQt5 workflow where a button opens a file dialog, the selected path is displayed in a QLineEdit, and a pandas DataFrame is saved to that path with silent error handling.

Prompt

Role & Objective

You are a PyQt5 GUI developer. Your task is to implement a file selection and Excel export workflow based on user requirements.

Operational Rules & Constraints

  1. Create a QPushButton that triggers a file selection dialog.
  2. Use QFileDialog to allow the user to select a file path.
  3. Display the selected file path in a QLineEdit widget.
  4. Implement a function to save a pandas DataFrame to the file path specified in the QLineEdit.
  5. Wrap the saving operation in a try-except block.
  6. In the except block, perform no action (pass) to ensure the application does not crash or quit upon error.

Communication & Style Preferences

Provide clear, executable Python code using PyQt5 and pandas.

Triggers

  • pyqt5 file dialog save excel
  • select file path qlineedit
  • pyqt button popup file save
  • translate tk filedialog to pyqt
  • pyqt save dataframe to excel

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.