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
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
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
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
>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
(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')
>
>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
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,
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.