Title: Signature.html
It's very difficult to tell. I've tried it.
fLocation=Frame(master)
fLocation.pack(side=LEFT)
I need to size the fLocation frame to make it big. As it is, it must be
giving the smallest possible size.
I tried this
fLocation.pack(expand=YES,fill=B
Try packing the frame to the left and set it to expand.
HTH, Going on vacation
Bye
Alan G.
"Wayne Watson" wrote in message
news:49cd0d40.5090...@sbcglobal.net...
Signature.htmlThe code below is clearly not shifting the contents of the
frame to the left. It's supposed to look like
David wrote:
greg whittier wrote:
On Fri, Mar 27, 2009 at 1:31 PM, David wrote:
But I can not get this to update after the first time it is ran.
def get_todo():
Other common ways this is done include:
def get_todo(todo={}):
...
This works well if one copy is to be used the entire time
greg whittier wrote:
On Fri, Mar 27, 2009 at 1:31 PM, David wrote:
But I can not get this to update after the first time it is ran.
def get_todo():
todo = {}
moved todo{} outside of the function
This set todo to an empty dictionary each time you execute get_todo.
Ok I see it now.
to
David wrote:
I am trying to make a simple Todo program and I can not get the
dictionary to update.
This works;
#!/usr/bin/python
key = 'Clean house'
value = (1,2,3,4)
todo = {key:value}
value = (5,6,7,8)
todo['Walk Dog'] = value
print todo
results
{'Walk Dog': (5, 6, 7, 8), 'Clean house': (1,
Title: Signature.html
Correction. The size of the button is interfering with positioning
here. I'm pretty sure that if the frame size is set to a large value,
width, in particular, then the entry of four columns will not be
adjusted to the left, but will appear centered. The point is that I
wan
On Fri, Mar 27, 2009 at 1:31 PM, David wrote:
> But I can not get this to update after the first time it is ran.
>
> def get_todo():
> todo = {}
This set todo to an empty dictionary each time you execute get_todo.
> key = raw_input('Enter Todo Title: ')
> todo[key] = key
> print '\n'
I am trying to make a simple Todo program and I can not get the
dictionary to update.
This works;
#!/usr/bin/python
key = 'Clean house'
value = (1,2,3,4)
todo = {key:value}
value = (5,6,7,8)
todo['Walk Dog'] = value
print todo
results
{'Walk Dog': (5, 6, 7, 8), 'Clean house': (1, 2, 3, 4)}
OK g
Title: Signature.html
The code below is clearly not shifting the contents of the frame to the
left. It's supposed to look like
Geographic Location
Latitude BOX Longitude BOX
OK Cancel
but instead looks like:
Geographic Location
Latitude
matplotlib and pylab are two APIs to the same library. Using
matplotlib is a more object-oriented, pythonic API. pylab is modeled
after the Matlab plotting functions to make it easier for those coming
from that environment.
There's a matplotlib mailing list and you can often figure out what
you
On Fri, Mar 27, 2009 at 7:46 AM, Bala subramanian
wrote:
> Friends,
> I am not sure if this forum is appropriate to ask question about a
> particular package. After getting suggestions from some of you for python
> based plotting, I have just started with matplotlib. I am bit confused with
> the r
Friends,
I am not sure if this forum is appropriate to ask question about a
particular package. After getting suggestions from some of you for python
based plotting, I have just started with matplotlib. I am bit confused with
the relation between matplotlib and pylab.
In the matplotlib homepage, e
12 matches
Mail list logo