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
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
--
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
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
"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
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(