title: Displaying an Image in PySimpleGUI
body: <p>I'm trying to display an image in a simple GUI using PySimpleGui but it might be a bit more complicated than I thought.</p>
  <p>This is what I'm currently attempting:</p>
  <pre><code>import io
  import os
  import PySimpleGUI as sg
  from PIL import Image
  import sys
  
  # GUI #
  
  
  layout = [
  
          [sg.Image('2C.png')]
          [sg.Submit(), sg.Cancel()]
  
           ]
  
  window = sg.Window('My Program', layout)
  
  button,values = window.read()
  </code></pre>
  <p>And this is the error Sublime is throwing out:</p>
  <pre><code>C:(Directory)file.py:12: SyntaxWarning: list indices must be integers or slices, not tuple; perhaps you missed a comma?
    [sg.Image('2C.png')]
  Traceback (most recent call last):
    File &quot;file.py&quot;, line 12, in &lt;module&gt;
      [sg.Image('2C.png')]
  TypeError: list indices must be integers or slices, not tuple
  </code></pre>
  <p>Really not sure what to google as there are so few PySimpleGUI resources out there.</p>
  <p>Thanks for reading,</p>
  <p>Callan</p>