Ya, I thought of that... However...<br><ul><li>It would be nice to be able to execute it directly (i.e,. click on it). You can't, "execute" a directory.</li><li>It would be more work to send as an email attachment.</li>
<li>I thought it was a cool idea, and had hoped someone else had figured out how to do it.</li></ul>In my case, I have a bunch of data to plot, and I'd like to be able to send both the data and a program to view and manipulate the data. When the recipient is done, they have the option of deleting the one file and there's no mess. It got me thinking of lots of other things the general paradigm would work for (i.e., my address book example).<br>
<br>tom<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 11:31 AM, Robert Kern <span dir="ltr"><<a href="mailto:robert.kern@gmail.com">robert.kern@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On 2009-10-06 16:16 PM, <a href="mailto:tcumming123@gmail.com" target="_blank">tcumming123@gmail.com</a> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Any body got any ideas how to do the following...<br>
<br>
I would like to be able to write an app in python that keeps it's<br>
persistent data in a sqlite database file.<br>
<br>
So far so good. The problem, is that I need the python app and the<br>
sqlite db file to exist in the same disk file. This way the app to<br>
access the data and the data are in the same file.<br>
</blockquote>
<br></div>
Would having the app and the data file in the same directory satisfy your use case just as well? You could move the directory around just as well as you could move the file.<br>
<br>
-- <br>
Robert Kern<br>
<br>
"I have come to believe that the whole world is an enigma, a harmless enigma<br>
 that is made terrible by our own mad attempt to interpret it as though it had<br>
 an underlying truth."<br>
  -- Umberto Eco<br><font color="#888888">
<br>
-- <br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>