Advertisement
Jexal

cd6b71ce-e28f-4778-9a64-886668e471a6

Mar 7th, 2025
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. if not lines:
  2.     logging.error("Error: The input file is empty.")
  3.     print(Fore.RED + "> Error: The input file is empty.")
  4.     input(f"\n{Fore.CYAN}> Press {Fore.YELLOW}Enter {Fore.CYAN}to exit and open the input text file...")
  5.     subprocess.Popen(["notepad.exe", file_list])
  6.     sys.exit(1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement