djoker05
API Integrator
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
200 XP
just make a folder have input.txt and output.txt in that folder
put the url:email:pass into input and run the python program and done
def convert_format(s):
parts = s.rsplit(':', 2)
if len(parts) != 3:
return s.strip()
return f"{parts[1]}:{parts[2]}"
def reformat_file(input_file, output_file):
with open(input_file, 'r', encoding='utf-8') as infile, open(output_file, 'w', encoding='utf-8') as outfile:
for line in infile:
outfile.write(convert_format(line))
reformat_file("input.txt", "output.txt")
leave a like men
put the url:email:pass into input and run the python program and done
def convert_format(s):
parts = s.rsplit(':', 2)
if len(parts) != 3:
return s.strip()
return f"{parts[1]}:{parts[2]}"
def reformat_file(input_file, output_file):
with open(input_file, 'r', encoding='utf-8') as infile, open(output_file, 'w', encoding='utf-8') as outfile:
for line in infile:
outfile.write(convert_format(line))
reformat_file("input.txt", "output.txt")
leave a like men