<br><br><div><span class="gmail_quote">On 3/28/06, <b class="gmail_sendername">Kaushal Shriyan</b> <<a href="mailto:kaushalshriyan@gmail.com">kaushalshriyan@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi All<br><br>How do i use this ASCII values in my day to day activities, I am going through<br>learning python,<br><br>Please illustrate with examples<br><br>Thanks in Advance<br><br>Regards<br><br>Kaushal<br><br>--<br>fedora-list mailing list
<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: <a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote>
</div><br>Hi Kaushal!<br><br>Ok, this is a bit off topic for this list but a good review (and Python introduction) for me.<br><br>First a look at the ascii table (see link):<br><br><a href="http://www.lookuptables.com/">http://www.lookuptables.com/
</a><br><br>I think it is useful to break the numbers ( 0 to 9 ) and the capital and small letters ( A B C and a b c should be enough) down to binary since it shows how they fit in the sequence.<br><br>With that as a base time to diverge into the modern world of UTF-X(Xs):
<br><br><a href="http://www.jorendorff.com/articles/unicode/python.html">http://www.jorendorff.com/articles/unicode/python.html</a><br><br>Now back to the Python basics of ascii (note, I am a Python learner like yourself not a programmer):
<br><br><a href="http://python.active-venture.com/lib/module-curses.ascii.html">http://python.active-venture.com/lib/module-curses.ascii.html</a><br><br>The above is kind of a toolkit to analyze (parse when decisions are made per results) ascii characters.
<br><br>Now as I have been typing I have been producing ascii characters.  To see a list of which characters are mapped to which key (man keymaps) do a (from a terminal window):<br><br>[user]$ dumpkeys -l > longDumpKeys
<br>[user]$ less longDumpKeys<br><br>This uses the "dumpkeys" utility to see the mapping of ascii characters to key press and places the results in the file "longDumpKeys" then "less longDumpKeys" reads the results one screen at a time (up and down arrow to move -- q to quit) viewing of the results.
<br><br>You can process them one character at a time:<br><br><a href="http://docs.python.org/lib/msvcrt-console.html">http://docs.python.org/lib/msvcrt-console.html</a><br><br>Or probably have the user input a line of characters (did not have time to research).
<br><br>More examples within:<br><br><a href="http://excess.org/urwid/">http://excess.org/urwid/</a><br><br><a href="http://kia.etel.ru/lib/rhl6u/rhl6u347.htm">http://kia.etel.ru/lib/rhl6u/rhl6u347.htm</a><br><br>Have fun!
<br><br>Tod<br><br><br><br><br>