Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Search found 1 match

by spyke11
Sat Jul 20, 2013 11:13 am
Forum: Coding Corner
Topic: Parsing payload
Replies: 3
Views: 2860

Parsing payload

Hi,
i'm novice in python's programmation...
I want to split eg.event.payload but the script return me this error :

AttributeError: AutoRemotePayload instance has no attribute 'split'

i use this script:

p = eg.event.payload
p = p.split(',')

the payload is "params: [u'Test', u'salut']; command(s ...