Trey Keown wrote:
> Okay, I'm making a program that turns xml code into python code.
>
> And here would be the corresponding output (well, what I've got so far...)
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> from Tkinter import *
> import tkFileDialog
> #<<<<<Main stuff>>>>>#
> self = Tk()
> self.title("Example Window Title")
> self.iconbitmap("e.ico")
> #<<<<<Get to work on button function!!!>>>>>#
> #<<<<<End window self>>>>>#
> #<<<<<End section>>>>>#
> #<<<<<End program>>>>>#
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Now, as you probably see, there isn't a "self.mainloop()" function in the
> output.
Why not just out put the mainloop() before <<End program>> ?
You might be interested in
http://www.bitflipper.ca/rapyd/
though it seems to store its data in pickles, not xml.
Kent
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor