Maybe this is a Python question:

sage: [ ord(x) for x in 'abcde']
[97, 98, 99, 100, 101]


On Dec 13, 2007 4:54 PM, Walter T. Grandy <[EMAIL PROTECTED]> wrote:
>
>
>
> Does sage contain a function similar to Mathematica's ToCharacterCode[]?
>  That is, I'd like to covert something like "Big Mac" to ascii numerals for
>  further processing. Thanks.
>
>  rudolph
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to