SO basically what I am trying to do is that I am trying to make it so I can read a file line by line, and then have a certain text added after the text displayed

For Ex.

Code:
=====

```
file = open("testlist.txt",'w')
file2 = open("testerlist.txt",'r+')

//This gives me a syntax error obviously.

file.write1("" + file + "" + file2 + "")

```

Textlist
========

In my testlist.txt it lists as:

> 
> os
> 
> 
> 

Testerlist
==========

In my testerlist.txt it lists as:

> 
> 010101
> 
> 
> 

I am trying to copy one text from one file and read another file and add it to the beginning of a new file for ex.[accounts.txt].

My End Result
=============

For my end result I am trying to have it be like:

> 
> os010101
> 
> 
> 

(btw I have all the correct code, its just that I am using this as an example so if I am missing any values its just because I was to lazy to add it.)