title: Tkinter Insert outputting as [list] after "".join()
body: <p>I am making a python program that converts numbers to binary with a tkinter GUI. When using e.insert on a entry it will return a normal string:
  0101010011
  as
  [0, 1, 0, 1...]</p>
  
  <p>The function which converts a number to binary. I am aware the bin() alternative exists, I just wanted to create my own.</p>
  
  <pre class="lang-py prettyprint-override"><code>def dec2bin(decnum):
    binarylist = []
    while (decnum &gt; 0):
      binarylist.append(decnum % 2)
      decnum = decnum // 2
    binarylist.reverse()
    binarylist = str(binarylist)
    return "".join(binarylist)
  </code></pre>
  
  <p>The function that is called when a button in the tkinter gui is pressed which is intended to replace one of the entry box's text with the binary output.</p>
  
  <pre class="lang-py prettyprint-override"><code>def convert():
    decimal = entrydec.get()
    decimal = int(decimal)
    entrybin.delete(0, END)
    entrybin.insert(0, dec2bin(decimal))
  </code></pre>
  
  <p>I expect the output of 010101, but the actual output is [0, 1, 0, 1, 0, 1]</p>