[AI Prompt Coding] “Excel to PDF Converter” python code

We’ve created “Excel to PDF Converter” python code by ChatGPT4 including test code.
In conclusion, the code and test code worked.

Show this chat log.

The prompts are followings:

1.
[Instruction number 001] Generate code to convert the contents of an Excel file to PDF as is. to class.

2.
With this code, if images etc. are pasted into EXCEL, they will not be converted to PDF. improve it.

3.
This is what instruction number 001 is all about. Can you brush up on it further?

4.
Implement all of the above.

5.
Think of a test pattern for this class and generate test code.

6.
Replace the test code Excel file and PDF file with the following ‘C:\Users\user\Desktop\develop\python\python_win\Python\Python\AI_Prgraming\excel.xlsx’ ‘C :\Users\user\Desktop\develop\python\python_win\Python\Python\AI_Prgraming\output.pdf’.



Comments

Copied title and URL