Exemple #1
0
 def CheckProxyFile(self):
     try:
         ProxiesFile = library.readIT().f(filename="proxies.txt")
     except:
         raise FileExistsError(
             "Hey Dipshit! Try Getting Some Proxies (proxies.txt)")
     return ProxiesFile
Exemple #2
0
 def open_accountfile(self):
     while True:
         accountfile = input(
             "Name Of Account File (Defaults to file.txt EMAIL:PASS:IGN): ")
         if accountfile == '':
             accountfile = "file.txt"
         try:
             accountfile = str(accountfile)
         except TypeError:
             continue
         else:
             if '.txt' not in accountfile:
                 accountfile = accountfile + '.txt'
             accountfile = library.readIT().f(filename=accountfile)
             return accountfile
	def open_accountfile(self):
		while True:
			accountfile = input("Name Of Account File: ")
			if accountfile == '':
				accountfile = "accounts.txt"
			try:
				accountfile = str(accountfile)
			except TypeError:
				continue
			else:
				if '.txt' not in accountfile:
					accountfile = accountfile + '.txt'

				try:
					open(accountfile, 'r')
				except FileExistsError:
					continue
				else:
					accountfile = library.readIT().f(filename=accountfile)
					return accountfile