Jump to content

Account List Splitter (TXT to CSV)


CatnipandMilk

Recommended Posts

This is a simple python script that splits a list of usn:pass into different columns in a csv file. 

 

Main: 

import pandas as pd

def split_email_password(input_file, output_file):
    # Read the input file and split email:password pairs
    df = pd.read_csv(input_file, sep=':', names=['Email', 'Password'])

    # Write the DataFrame to an Excel file
    df.to_excel(output_file, index=False)

if __name__ == "__main__":
    # Put accounts.txt into the same folder as this
    input_file_path = 'accounts.txt'

    # This is the output file, change the name to whatever you prefer
    output_file_path = 'CatnipAccounts.xlsx'

    split_email_password(input_file_path, output_file_path)

    print(f"Combo list has been successfully split into {output_file_path}. Happy botting! ~CatnipandMilk")

 

Requirements:

pip install pandas

 

Usage:

python split.py

????

Profit

 

split.py

Edited by CatnipandMilk
Added file
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...