Create Space Delimited File in Python
===

Using the code below, I'm getting the correct information to the file - kind of.  Here's the code:

    filename = raw_input('What would you like to name the file? ')
    
    import csv
    
    data = [frames]
    out = csv.writer(open(filename,"w"), delimiter=' ',quoting=csv.QUOTE_MINIMAL)
    out.writerows(data)

This generates something that looks like this in a text file:

    "[255   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0
       0   0]" "[  0 171 171 171 171 171 171 171 171 171 171 171 171 171 171 171 171 171
     171 171]" 

I would like the information to look like this:

    255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 []0 255 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

The 2 brackets represents a character that indicates a new row of information.  It's a little rectangle on my text editor and I'm unsure of what the character is.

So, how do I get rid of the quotes and brackets and use this other character?