On Sun, Sep 30, 2012 at 10:20 AM, Walter Prins <wpr...@gmail.com> wrote:
>
> your problem domain and hence the target audience is a group of people
> where a certain set of symbols have a well established conventional
> set of meanings [and hence will be quite readable to them] then I
> think it's quite sensible to just use the conventional lingo, incl.
> symbols when suitable


You can use any kind of (L)etter, but not (S)ymbols:

    >>> list(map(unicodedata.category, "蟒蠎"))
    ['Lo', 'Lo']

    >>> 蟒, 蠎 = "Chinese Python", "Japanese Python"

    >>> list(map(unicodedata.category, "∂∫"))
    ['Sm', 'Sm']

    >>> ∂ = "Partial Differential"
      File "<stdin>", line 1
        ∂ = "Partial Differential"
          ^
    SyntaxError: invalid character in identifier

    >>> ∫ = "Integral"
      File "<stdin>", line 1
        ∫ = "Integral"
          ^
    SyntaxError: invalid character in identifier
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to