#test python print("Hello World") ############ # Open the file in write mode file = open("output.html", "w") # Write HTML content file.write("") file.write("") file.write("My PyPage") file.write("") file.write("") file.write("

Welcome to my Python Page!

") file.write("") file.write("") # Close the file file.close() print("HTML file successfully written.") ############# # Creates a unique, 6 digit, alpha numeric code #import random #rnd = random.randint(0, 25) #letterList = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', \ # 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] #print(letterList[rnd] + letterList[random.randint(0, 25)] + \ # letterList[random.randint(0, 25)] + '-' + str(random.randint(0, 999))) ############ #! python3 #import re #import pyperclip