Announcement

Collapse
No announcement yet.

Supported Python Features (empty tuples)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Supported Python Features (empty tuples)

    How does one know which Python functions are supported by snappy and which ones are not?

    For example I'm trying to use the split function and having trouble.

    t=list()
    s="abc def ghi"
    t=s.split()

    Thanks,

    Tom Johnson
    Last edited by cpusa; 08-08-2008, 11:55 AM. Reason: clarification

  • #2
    This will be covered in the SNAP reference manual in our upcoming 2.1 release. I've attached the "SNAPpy Python Language" section as it stands today to this post.

    Regarding your example, you can do subscripting of the string, so it's "like" a list, even though lists aren't explicitly supported yet. We often use this to implement byte-oriented lookup tables, for instance.

    If you have any difficulty getting SNAPpy to do what you need, I'll be glad to give more suggestions.

    - David
    Attached Files

    Comment

    X