Addition problems

2011-04-01 Thread vm
I'm analyzing some data in python. I have stumbled across unusual problem: I have the function... def fun1(params_used_below_except_lk_and_lk2): lk = 0.0 lk2 = 0.0 for raw_data, hist, freq in raw_data_hist_list: lk2 = lk2 + fun2(some_constants_and_params_from_this_scope)

Re: Tkinter PhotoImage won't show ***SOLVED***

2006-01-29 Thread vm
I was missing "global pic" line at the begining of putpic function. doh! "vm" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > please help! > > I can't find anything wrong (except the result ofc ;-) > > This: > > > > picfile

Tkinter PhotoImage won't show ;-(

2006-01-29 Thread vm
please help! I can't find anything wrong (except the result ofc ;-) This: picfile = 'logo.gif' pic = tk.PhotoImage(file=picfile, master=root) canpic = cv.create_image(320, 240, image=pic) #cv is is a Tkinter Canvas ofc ...works just fine, but when I put it in the event binding fu

Re: http POST only returning GET data

2005-06-24 Thread vm
Benji - that worked like a champ - my mistake. thanks Vinod -- http://mail.python.org/mailman/listinfo/python-list

http POST only returning GET data

2005-06-24 Thread vm
Hi, for some reason my POST is not working properly. I am basically just trying to get a simple stock quote from yahoo by posting the ticker symbol (GE as an example) into finance.yahoo.com. However, when I POST, I do get a response back, but it is just the main page finance.yahoo.com and it does