2011/10/11 Roberto De Ioris <robe...@unbit.it>: [...] > Questo modulo (che richiede spidermonkey 1.8.5) permette di eseguire > codice javascript/ecma su un oggeto python.
Cos'e` un oggeto? [...] > if (data['sport'] == 'pallanuoto' && data['surname'] == 'beri') { > throw "cazzaro" C'e` un errore, dovrebbe essere:: if (data['surname'] == 'beri') { throw "cazzaro" [...] > L'oggeto data e' la rappresentazione dell'oggeto python (in questo caso Cosa sono l'oggeto data e l'oggeto python? © -- Carlo Miron Rompicazzo Solution Architect™ _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python