> > > One way to debug this is to try to redirect the output to a .txt or > .html file and check the output in gedit or firefox browser that > understands the encoding. > > Ok I will check this.
#1 Please put a header, copyright, license info if you are releasing > code to the public. > > #2 You might want to give a detailed example on how to use your > program in the README with examples. I am not sure if you expect > English/Tamil text as input at various prompts. > > #3 Add your contact e-mail address in the README > > #4 Your exception cases need to be clearly specific. If you test for > Internet connectivity, then clearly say so. > > #5 You have imported re, codecs, textwrap and not used it in the code > > #6 It is good practice to check function return values before > proceeding to use them in your code > > #7 Please add docstring when you write Python code > > #8 Avoid magic numbers and strings, please. Move all your prompt > strings to separate variables, so tomorrow if you have to change them > you only have to do it once > > #9 Fix your indentation > > #10 Run pylint on your code and fix the warnings > > Thank you for your suggestion. ok i will change all these corrections and will update the code. -- Regards sathia http://www.sathia27.wordpress.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc