Jojo Mwebaze wrote:
> Thanks guys for the responses,
>
> inspect.classify_class_attrs(klass)
>
> does the magic
Argh, undocumented functions. How did you find that gem?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription opt
Hi Tee,
On 20 January 2011 03:48, tee chwee liong wrote:
> actually i just want to plot a simple x and y graph. any suggestion?
> how about using excel to plot? any sample code that i can follow to:
> 1) launch excel
> 2) read x-y from a text file
> 3) plot graph
>
Try this page:
http://www.bl
I have some experience in Tcl\Tk, and so far, Tkinter is striking me as harder
to use that Tk in it's "native" environment.
I am attempting to re-write a program I originally did in Tcl\Tk in Python. I
managed to get a GUI done using just Tkinter, and, after an initial struggle
with the Tkinte
On Thu, Jan 20, 2011 at 2:43 PM, Elwin Estle wrote:
> I have some experience in Tcl\Tk, and so far, Tkinter is striking me as
> harder to use that Tk in it's "native" environment.
>
> I am attempting to re-write a program I originally did in Tcl\Tk in Python.
> I managed to get a GUI done using
I have a question I know the shutil module deletes directories, If I use this
code will it delete all of my program files?
import shutil
shutil.rmtree('C:\Program Files (x86)')
___
Tutor maillist - Tutor@pyth
On Thu, Jan 20, 2011 at 9:32 PM, walter weston wrote:
> I have a question I know the shutil module deletes directories, If I use
> this code will it delete all of my program files?
>
> import shutil
> shutil.rmtree('C:\Program Files (x86)')
>
Assuming you have the proper permissions, yes.
An e
Your signature is obscenely large David.
> But, the tutorials I have encountered all mentioned that it is supposed to
be a good idea to put one's GUI stuff in a class, then create an instance of
the class (which I don't entirely understand, since I thought the whole
"class" thing was for stuff tha
I am not understanding the following code (I did not write it). It
demonstrates walking a tree-like data structure using recursion. It does
run and produces reasonable output. I particularly do not understand the
"traverse.level" statements. Can anyone give me an idea how this is working
and th