> So my first question has to do with tkinter which I am using to build the gui. > Is it possible to adjust the size of input boxes in tkinter?
I'm assuming you mean the "Entry" widget. And yes, it can be resized just like any other widget. I have used this site as a resource for Tkinter in the past. It isn't great, but last I checked there wasn't much. http://www.pythonware.com/library/ Here is some code that creates an Entry widget that resizes with the parent: import Tkinter as tk root = tk.Tk() e = tk.Entry(root) e.pack(fill='x', expand=True) root.mainloop() > Second, I am planning on using xmlrpc for communication. Is this best/easiest? That depends on what you are familiar with and what type of data you are communicating. If you are creating an xmlrpc server inside of your gui app you will have to do some work to make sure that both event loops get run (server and gui). I've done it before, but it isn't trivial. My guess is that most of the people in the python mailing list would find that creating a simple web-app would be easier. But again, that depends on what you are familiar with. And I don't know all of the requirements for your project. Matt On Sun, Mar 6, 2011 at 10:04 PM, sean marcia <[email protected]> wrote: > Hey Pythonistas, > > I have a couple questions that I am hoping for some help/advice on. > > I am in the process of coding up a small voting app for a professor of mine. > The > app, when completed, will send the students some info which they will vote on. > So for example, the student will see something like "You are a member of the > Triangle party. You received advertising from the Circle party. Who do you > wish > to vote for? Circle, Triangle, Abstain." The admin app which the professor > will > use will set the number of iterations for the voting game, the chance of > getting > advertising, etc. > > So my first question has to do with tkinter which I am using to build the gui. > Is it possible to adjust the size of input boxes in tkinter? > > Second, I am planning on using xmlrpc for communication. Is this best/easiest? > > I haven't done a lot of gui or networking using python so any advice on the > easiest and fastest way would be appreciated especially since I am doing this > for free :) > > Thanks in advance! > > Happiness, > Sean > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://mail.python.org/pipermail/portland/attachments/20110306/73daf5cd/attachment.html> > _______________________________________________ > Portland mailing list > [email protected] > http://mail.python.org/mailman/listinfo/portland > _______________________________________________ Portland mailing list [email protected] http://mail.python.org/mailman/listinfo/portland
