How do you pass in data from pypy interpreter to backend ?
![](https://secure.gravatar.com/avatar/ff8f665585849e44d8c342bf3b8afd5f.jpg?s=120&d=mm&r=g)
I've really been struggling with this. For instance pycode from pyframe. I would like to pass along a data structure containing pycode tidbits all the way to the background but cannot figure out a way. Any clues would be appreciated ! Shubha
![](https://secure.gravatar.com/avatar/ff8f665585849e44d8c342bf3b8afd5f.jpg?s=120&d=mm&r=g)
Not "all the way to the Background. Typo. Meant to say all the way to the backend". How do I pass pyframe pycode bits to the backend at runtime ? Sent from Shubha Ramani's iPhone 7
On Jan 2, 2017, at 6:47 AM, Shubha Ramani <shubharamani@yahoo.com> wrote:
I've really been struggling with this. For instance pycode from pyframe. I would like to pass along a data structure containing pycode tidbits all the way to the background but cannot figure out a way.
Any clues would be appreciated !
Shubha
![](https://secure.gravatar.com/avatar/ff8f665585849e44d8c342bf3b8afd5f.jpg?s=120&d=mm&r=g)
I figured this out - thanks to something Manuel Jacob said -"You should be able to fix the error by moving the line to the module toplevel." You can add a global variable to a module top level easily and pass it along to the backend. Thank You Manuel ! Shubha On Monday, January 2, 2017 6:48 AM, Shubha Ramani <shubharamani@yahoo.com> wrote: Not "all the way to the Background. Typo. Meant to say all the way to the backend". How do I pass pyframe pycode bits to the backend at runtime ? Sent from Shubha Ramani's iPhone 7
On Jan 2, 2017, at 6:47 AM, Shubha Ramani <shubharamani@yahoo.com> wrote:
I've really been struggling with this. For instance pycode from pyframe. I would like to pass along a data structure containing pycode tidbits all the way to the background but cannot figure out a way.
Any clues would be appreciated !
Shubha
participants (1)
-
Shubha Ramani