[Python] I asked ChatGPT a question concerning the Python STD system and this is what ChatGPT...

Discussão em 'Python' iniciado por Stack, Agosto 23, 2025.

  1. Stack

    Stack Membro Participativo

    I am writing some software that calculates the size of joists and beams and I am using Python to do this and I am using ChatGPT to guide me through the process and I am very impressed.

    I asked Chat to explain a line of code referring to subprocess and Chat explained the sys.* functions to me and then invited itself to write me a script to show some of the modules - and it was good. Chat then offered other features until I eventually got a program that reads the whole of the python system in a Regedit style. I have no idea how to use it yet but I know it will be useful.

    I want to share this code with the forum and I will attach it after this question.

    I wrote none of this code, just the ideas; and it too less than an hour! And it converts to .exe. Feel free to try Android; I wish I did as that is me next task with my project.

    This is from ChatGPT to the forum "This script builds a “regedit-style” Tkinter explorer for the Python Standard Library. Categories of modules are shown in a collapsible tree. Each module entry includes a short description and a checkmark if it’s already loaded. A detail pane on the right shows more info plus a sample import snippet. Toolbar functions: Search, Find Next/Prev (Ctrl+F / F3 / Shift+F3), Expand/Collapse All, Clear. You can copy or save module details to a file. It’s written entirely with the Python standard library (no third-party dependencies), so it will run anywhere Python + Tkinter are available.

    Well done ChatGPT

    Continue reading...

Compartilhe esta Página