When you tell it to write code that uses an external library, chatgpt often even writes a pip install command. At this time, when you run the code, the pip install command is executed, not the Python code. Also, if multiple python codes are output, code execution becomes confusing. Therefore, it seems necessary to have a function that allows the user to select and execute a specific code block.
When you tell it to write code that uses an external library, chatgpt often even writes a pip install command. At this time, when you run the code, the pip install command is executed, not the Python code. Also, if multiple python codes are output, code execution becomes confusing. Therefore, it seems necessary to have a function that allows the user to select and execute a specific code block.