file1="e:\\a.txt"
file2="e:\\b.txt"
file3="e:\\c.txt"
def userJoinPwd(userfile,passfile,outfile):
userNamesFile=open(userfile,'r')
passwordsFile=open(passfile,'r')
outFile=open(outfile,'a')
userNames=userNamesFile.readlines()
passwords=passwordsFile.readlines()
hashvul=""
for user in userNames:
for passwd in passwords:
hashvul+=user.strip("\r\n")+passwd.strip("\r\n")+"\r\n"
#print(hashvul)
outFile.write(hashvul)
userNamesFile.close()
passwordsFile.close()
outFile.close()
def main():
userJoinPwd(file1,file2,file3)
if __name__ == '__main__':
main()