Re: [Tutor] my first gui

2009-06-03 Thread prasad rao
Hello Thanks I will implement your suggestions. True .Names and parameters are not descriptive. There are no comments(docstrings) in the program . There is scope to reduce number of functions. Thank you Prasad ___ Tutor maillist - Tutor@python.org

Re: [Tutor] my first gui]

2009-06-03 Thread David
David wrote: > > prasad rao wrote: > >> Hello. >> I made my first mager gui program.I need your openions suggestions and >> improvements. >> >> > Hi Prasad, > I get this error, I am using 2.5 on Linux; > > Exception in Tkinter callback > Traceback (most recent call last): > File "/usr/l

Re: [Tutor] my first gui]

2009-06-03 Thread David
-- powered by Gentoo/GNU Linux http://linuxcrazy.com --- Begin Message --- prasad rao wrote: > Hello. > I made my first mager gui program.I need your openions suggestions and > improvements. > Hi Prasad, I get this error, I am using 2.5 on Linux; Exception in Tkinter callback Traceback (most

Re: [Tutor] my first gui

2009-06-03 Thread Lie Ryan
prasad rao wrote: > Hello. > I made my first mager gui program.I need your openions suggestions and > improvements. > > > #! usr\\bin\\env python Why is the shebang like that? > from Tkinter import * importing * is considered namespace pollution since you cannot control what name would be int

Re: [Tutor] my first gui

2009-06-03 Thread Alan Gauld
"prasad rao" wrote I made my first mager gui program.I need your openions suggestions and improvements. OK, Here goes... def myfiles (n='',m=''): import os mf=[os.path.join(x,i)for x,y,z in os.walk(n) for i in z if i.endswith(m)] return mf The parameters could use more descriptiv

[Tutor] my first gui

2009-06-03 Thread prasad rao
Hello. I made my first mager gui program.I need your openions suggestions and improvements. #! usr\\bin\\env python from Tkinter import * def myfiles (n='',m=''): import os mf=[os.path.join(x,i)for x,y,z in os.walk(n) for i in z if i.endswith(m)] return mf def fshow(): tclear(