Re: [Ironpython-users] IronPython Samples

2012-04-04 Thread Jeff Hardy
On Wed, Apr 4, 2012 at 9:31 PM, Doug Blank wrote: > Jeff, > > I'd be glad to send you a Python Gtk example. That would be a > graphical sample that runs on all platforms. That would be great. Ideally you could use the same core app as the rest of the samples, but if you've already got something t

Re: [Ironpython-users] scope get/set variable and invoking python function

2012-04-04 Thread Slide
FYI, if you only want to READ the global variable, you don't need to do what I said below, but to write to it, you have to "declare" it as a global before writing to it inside the function. On Wed, Apr 4, 2012 at 9:40 PM, Slide wrote: > The Test1 inside the function is not the same as the Test1 o

Re: [Ironpython-users] scope get/set variable and invoking python function

2012-04-04 Thread Slide
The Test1 inside the function is not the same as the Test1 outside the function, you need to make the Test1 in the function a reference to the global Test1 for the scope. Try this def TestFunction() global Test1 Test1 = 4 On Wed, Apr 4, 2012 at 9:38 PM, Bill wrote: > I am having a proble

[Ironpython-users] scope get/set variable and invoking python function

2012-04-04 Thread Bill
I am having a problem in ironpython 2.7.2.1 with executing a python function that changes variables set in the scope via SetVariable. The problem is these variables are never actually updated on the c# side after the python function executes. Here is a couple different examples, all of which don't

Re: [Ironpython-users] IronPython Samples

2012-04-04 Thread Doug Blank
Jeff, I'd be glad to send you a Python Gtk example. That would be a graphical sample that runs on all platforms. -Doug On Wed, Apr 4, 2012 at 11:54 PM, Jeff Hardy wrote: > I've put together a set of IronPython samples: > https://github.com/jdhardy/IronPythonSamples. They're still a bit > early,

[Ironpython-users] IronPython GSoC 2012

2012-04-04 Thread Jeff Hardy
The student application deadline for Google Summer of Code 2012 is *this Friday* (April 6). If you're a student, you're interested in IronPython, and you want to get paid to work on it, this is your chance. If you need ideas, check out https://github.com/IronLanguages/main/wiki/IronPython-GSoC-2012

[Ironpython-users] IronPython Samples

2012-04-04 Thread Jeff Hardy
I've put together a set of IronPython samples: https://github.com/jdhardy/IronPythonSamples. They're still a bit early, but there are console, WinForms, and WPF samples. The idea was to show how you could embed IronPython in various types of applications. There's also a pure-Python WPF app (and kud

[Ironpython-users] IronPython, Daily Digest 4/3/2012

2012-04-04 Thread no_reply
Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] compile does not accept AST object 2. [New comment] 2.7.2.1 "load language" problem 3. [New comment] 2.7.2.1 "load language" problem 4. [New issue] Duplicate key in dict 5. [Ne