[Ironpython-users] Retrieving Ironpython variables within .NET
jdhardy at gmail.com
Wed Oct 12 19:01:14 CEST 2011
On Wed, Oct 12, 2011 at 9:04 AM, Luis Vallejo <luis.vallejo at gmail.com> wrote:
> And I want to retrieve the variable "x" from C# change its value and inject
> it back to Ironpython the problem I face is that well.. i dont know how. I
> have tried with the scope.GetItems() but it returns 0. the only time it
> returns the variables is when I Execute the Code, and if its possible I
> would like to have it before...
In Python, the variable doesn't exist until the code is executed.
There's no way around that.
More information about the Ironpython-users