[Tutor] packing up python code to transfer to another machine

2010-02-10 Thread dwbarne
I have become a true Pythonaholic. My newest problem is I have a rather large Python code (1.5yrs + developing!) currently running on Windows machines that imports several modules, some from external libraries. It allows the user to easily access MySQL databases and plot selected columns and

[Tutor] python and kiviat diagrams

2009-12-22 Thread dwbarne
One of the drawbacks of Matplotlib is that it does not have the capability of drawing Kiviat diagrams. Does anyone know of a software package for drawing Kiviat diagrams written in Python? Daniel ___ Tutor maillist - Tutor@python.org To unsubscribe

Re: [Tutor] python and kiviat diagrams

2009-12-22 Thread dwbarne
Kent and Hilton, I'm a victim of outdated documentation. Mine is v0.98 (no radar charts), while latest is v0.99. A small step in numbers, but a giant leap in capability! Thanks! Looks like Matplotlib will do the trick after all. Daniel -Original Message- >From: Kent Johnson >Sent: De

[Tutor] trying to put Tkinter widget handlers in a module

2008-09-28 Thread dwbarne
I am writing a large Python/Tkinter/Pmw program. It has become so big that I would like to move some of the widget handlers to a module for import. The following small program illustrates: # --- begin code --- # checkbutton frame using python & Tkinter from Tkinter import * import string clas

[Tutor] keep from opening multiple Toplevel windows

2008-10-03 Thread dwbarne
I have a Tkinter button widget that when pressed invokes a Toplevel window call each time. The Toplevel window thus generated has a close button on it. As you might guess, when multiple Toplevel windows are open, I can press on a 'close' button to '.destroy' the window, but all other Toplevel wi

[Tutor] remap tab key to 4 spaces in a Tkinter text box

2008-10-30 Thread dwbarne
Hi tutors. Is there a way to remap a tab key to enter a user-specified number of spaces in a Tkinter text widget instead of a genuine tab? An internet search has turned up zilch. The tab option in a text widget lets you enter the number of centimeters to space over, but this option is truly use

[Tutor] how to call a binding method from an imported module

2008-10-31 Thread dwbarne
This problem involves a callback method while using 'bind'. The bind statement and the callback function are both in a module imported to the main program. Relevant code snippets are as follows: # begin snippet # main code import module_Editor . class MyClass(): def editor(self):

[Tutor] gnuplot from a python gui

2008-11-07 Thread dwbarne
Hello tutors, I'm trying to generate a plot using gnuplot from within a python gui. In Windows, if after the plot is drawn I use a raw_input string demanding a 'RETURN' be hit, the plot will persist on the screen until the 'RETURN' is pressed. In *nix, one can use the 'persist' switch to easil