45 Seconds -> Folder File Size Checker Application- ChatGPT
If you are like me, you are like a kid in the candy store, except your candy store is #HuggingFace , #Kaggle and Pre-Trained Models everywhere!!!
This article is an example to show how quick it is to innovate for YOURSELF. It is late right now and my hard drive is bursting at the seams with models and data. The OS is getting slow, how did it fill up so fast?
ChatGPT to the rescue, I co-designed with #ChatGPT a python application to list out all the folders and their file size for two given input parameters: Folder Path and Size Threshold.
I scanned the code quickly to make sure it would not delete my c:\ and then proceeded to run it. It worked first try. I told it to iterate and make the sizes readable to MB and GB.
Altogether I did this is in 45 seconds. No Joke.
I challenge you to ask your best developer to generate the same requirement of a small file checker application and get back to you when it works with a demo as fast as possible. Allow them open time to focus and return it as quickly as they can.
If they can not do it in under a few minutes, then the technical leadership is not using advanced ASSISTIVE tooling from code knowledgeable LLMs.
Here is the prompt + the iteration that produced the following code. I hereby grant you free license to it.
I ran the code and a quick review on the temp folder. All looked good but large numbers, not human readable.
DONE, the final code below - A one shot win:
领英推荐
If you would like to have a small discovery consultation on where low hanging fruit may be for your business. Please contact me. We have the bandwidth and skill to take on new clients.
As specialists in digital transformation we can connect the dots from capabilities of new technology to your existing business, to both generate new revenue and optimize ongoing operations.
Reach out to learn more! >> [email protected]