[Tutor] using SQLite with matplotlib - queries vs. lists

2007-02-20 Thread Pine Marten
I'm a novice hoping to use data stored in an SQLite database to make simple graphs using matplotlib embedded in a wxPython GUI. I noticed that matplotlib uses lists of integers to make graphs, such as the simple example (from the tutorial) of: from pylab import * plot([1,2,3,4]) show() But SQ

[Tutor] questions about having python GUI apps running in the background

2006-11-03 Thread Pine Marten
First, I have to thank Alan Gauld for his previous helpful posts--I didn't get to thank him last until the topic had changed much so I felt I missed that window. Also, big congratz on 1 millionth visitor to his great site (I like to think it may have been me that day or at least close). And th

[Tutor] recommendations for database module based on my needs

2006-10-27 Thread Pine Marten
I'm hoping to create an app which takes user data via a GUI with checkboxes, textcontrols, spinner controls, etc. The data would be some text, some numbers, some checkboxes checked or not, etc. I've been making a little progress on that via wxPython and Boa Constructor. Now I want to save th

[Tutor] 5 questions

2006-10-21 Thread Pine Marten
1. Is there a searchable archive of this list? 2. Is there list ettiquette one should be aware of? 3. Besides Vaults of Parnassus, are there other webpages which list projects written in Python? I'm mainly interested in looking at non-technical software, things for the common user to use. I

Re: [Tutor] Tutor Digest, Vol 32, Issue 72

2006-10-18 Thread Pine Marten
>I'm glad that you're not going to give up just yet! Don't worry, I have >much more effort in store for you :) [long and useful description of some basics of Python deleted] Wow, thanks very much! That was extremely useful. I had some time late last night when it was quiet here and I could

Re: [Tutor] Tutor Digest, Vol 32, Issue 72

2006-10-17 Thread Pine Marten
(in reference to a question I had about how to simply save the content of a textCtrl to a text file) >#Okay, here is the function we need to change. > > > def OnSaveButton(self, event): > #from John's save(event) function: > # > #savefile = open(self.filename, 'w') >

Re: [Tutor] Tutor Digest, Vol 32, Issue 70

2006-10-16 Thread Pine Marten
>Did you create this code, or did someone give it to you? It looks >like it's been made with BoaConstructor. If you're using Boa for >development, you'd probably be better off using it to add your save >functionality, rather than writing the code by hand. > >Unfortunately, I can't help you with

Re: [Tutor] Tutor Digest, Vol 32, Issue 69

2006-10-16 Thread Pine Marten
Thank you John for the code but I still can't get it to work and to simply save the contents of the text box to a file. Here is the code I have which just makes a panel with a text control and two buttons, "Save" and "Save As..." My hope is this can easily incorporate the changes you suggest,

[Tutor] How to save and later open text from a wxTextCtrl widget to a text file?

2006-10-16 Thread Pine Marten
I want to make a GUI in which user can write text in a text box and then click a button to save it to a text file. I'm using wxPython's TextCtrl widget. Then later I would want the user to be able to open it back into that window. Any help appreciated, thank you.