Hi, --- On Sun, Nov 20, 2011 at 6:35 PM, Sathia S <sathia2...@gmail.com> wrote: | This fetches data from http://ta.wiktionary.org/wiki/ and displays the | output in terminal. | | Problem is that it does not print tamil font clearly. I cannot read that | font. \--
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. If rendered correctly, then the problem is with the gnome-terminal. #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 SK -- Shakthi Kannan http://www.shakthimaan.com _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc