| 英文摘要 |
Purposes Rapid advances in artificial intelligence (AI) techniques have made self-learning coding highly efficient and convenient. This study investigated the use of AI tools and the Google Colaboratory (Colab) platform to assist self-learning of Python coding, with the application of Colab to the organization of data retrieved from Google Scholar as an illustrative example. Methods AI models such as Microsoft Copilot, DeepSeek, ChatGPT, and Google Gemini were used sequentially to assist with Python coding, and codes were executed in Google Drive/ Colab. All processes were performed on an ASUS laptop (TSDMU3MP) with an Intel Core i7-1165G7 2.80 GHz processor and the Windows 11 operating system. Results We investigated the feasibility of using AI to assist with coding and discovered that AI could serve as a powerful aid for developers. By leveraging the cloud computing capabilities of Colab, even beginners with no prior experience can quickly learn Python programming techniques. During the application of self-learned Python coding to the organization of academic data from Google Scholar, the provision of prompts to AI models led to the automatic generation of Python codes. Certain models provided additional information such as user instructions, function explanations, code annotations, example executions, and precautions. AI could also debug and optimize code. This enabled beginners with no prior experience to effortlessly gain familiarity with Python programming on the Colab platform. Using different input conditions in different AI models produced different results, which could be compared to achieving self-learning of Python programming. Conclusions With AI assistance, the barrier to learning coding can be significantly reduced, and familiarity with Python code execution can be easily gained on the Colab platform. The annotations and explanations provided by AI can also serve as references for self-learning by programming beginners. |