So, here is what I've been trying to do. I'm making a little program that goes to my classes on time so I don't miss them. And I have problems with the most important part... The automation! This is my code:
from pyautogui import *
import pyautogui
import keyboard
from pynput.keyboard import Key, Controller
import webbrowser
pos = pyautogui.position()
print(pos)
def open_b():
pyautogui.click(248, 754)
url='https://myclass.com'
webbrowser.open_new_tab(url)```