# -*- coding: utf-8 -*-
dosya1 = open("mail.txt")
dosya2 = open("sifre.txt","a")
for mail in dosya1:
abc = mail.split(":")
dosya2.write(abc[0],[2])
c# değilde python da bu şekilde çalıştırabilirsin. mail ve sifre adında iki text açıp python exe si olarak çalıştırabilirsin
edit : öncesi ve sonrasına göre düzenleme