Here is my now goto prompt for when I am working on a project – have a class that I need to mimic the interfaces. use the following class as a template. Call the new class “MainframeExcelText” The init take file and sheet and sets row and column location to 0. 1 function – write_text will take a row,col and […]
Bing Chat – use a class as a template prompt
ChatGPT prompt for in depth language learning – Chinese/Mandarin
Here is sample of a prompt that gave results that impressed me. Prompt: can you define 漫长 in English and give possible meaning by likely occurrence in Chinese text. The term “漫长” (màncháng) in Chinese can be defined in English as “lengthy,” “protracted,” or “prolonged.” It describes something that is enduring or lasting for a long time. Here are some […]
How to display Chinese characters in Matplotlib with Windows/Jupyter
I asked ChatGPT to generate a sample list of Tang Dynasty Poets from the book of 300 poems. It gave me this – it had some duplicates and one Song Dynasty poet in it. import pandas as pd data = [ {“English Name”: “Li Bai”, “Chinese Name”: “李白”, “Dates”: “701-762”}, {“English Name”: “Du Fu”, “Chinese Name”: “杜甫”, “Dates”: “712-770”}, {“English […]
Using Bing Chat to generate json file for fixed data.
I asked Bing to create a JSON data for O’day sailboats This is a great use case to generate fixed data in way you want it for your app. Save lots of times searching and typing. create a json file for Oday’s sailboats, data to include – length overall, sailarea, make and model Bing did a search and fed […]