Printing from Tkinter or PMW intrerface
<p>I have created an interface in both Python Mega Widgets and Tkinter that is an interface to a SQlite3 database. The query results are returned as a list and disiplayed in a memo field located on the main frame of the display.</p>

<p>Can I create a small function that will be launched from a button that will <strong>print</strong> the contents of the memo field?</p>

<p>something like:</p>

<pre><code>command = printMemo  #argument within the print button


#the print function I am looking for in pseudocode
def printMemo(memo):
       print memo
</code></pre>
