import os
def make go_file(file_name):
os-makedirs (file_name, exist_ok=True)
os. chdir(file_name)
with open(f”{file_name}.go”, “w”) as file:
file writel
•’package main
import (
“fmt”
func main) {
fmt.Println(*
Hello, I’m a GO script written by a Python script lol!
That’s kinda dumb, isn’t it?
*)
•’)
os system(f’go run (file_name) .go’)
make_go_file(“go_file”)
GIPHY App Key not set. Please check settings