Create a file named network.py. The file should be created in the same directory as health_checks.py, i.e., scripts. If you are not present in the scripts directory, navigate to the scripts directory first and then create the file.