Then make a shortcut of the python file and then move the shortcut to the StartUp Folder of Windows (Located Inside Start Menu)
By Default, StartUp Folder is in the path C:\Users\alizainpro\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
pip install pystray,pyautogui