ChatGPT — As a Programming Tool
Although ChatGPT is unlikely to be replacing programmers anytime soon, it can be a useful coding assistant. In this article, we will investigate how you can use ChatGPT (GPT-3.5) as a programming tool, and compare it to the earlier model found in the Open AI Playground (GPT-3). For simplicity, we will use mostly Python in our examples. Despite its limitations, ChatGPT is seriously impressive.
ChatGPT can be used with over 40 programming languages (Figure 1). Let’s start with a web scraping application in Python.
Setting Up a Python Environment
In order to run these scripts on your desktop, you are going to need a working Python interpreter and some form of IDE to enter your code and execute it. You can download the latest version of Python from python.org. This includes the free IDE called IDLE which we will use in our examples. If you have a Mac, you can check what version of Python you…