Re: [IronPython] Quickstart guide for Ironpython Studio

2010-04-26 Thread Jan Rouvillain
Hello, I can recommend SharpDevelop. A few small tweaks and you are up designing GUI's as in Visual Studio. You can debug ironpython code, when you have done the tweaks. Regards Jan Rouvillain 2010/4/27 David Escobar > What about SharpDevelop? They have excellent IronPython support - includ

[IronPython] How to install 3rd part packages into IronPython ?

2010-04-26 Thread David Shieh
Hi guys, I don't whether somebody else asked this question, but I am really confused about this. I have already installled IronPython2.6 and add it into my system's path, so I can directly type ipy to start IronPython2.6. So I tried " ipy setup.py install" to install MySQLdb, but it give me an err

Re: [IronPython] Quickstart guide for Ironpython Studio

2010-04-26 Thread David Escobar
What about SharpDevelop? They have excellent IronPython support - including a Windows Forms designer. http://www.sharpdevelop.com/OpenSource/SD/Default.aspx David On Mon, Apr 26, 2010 at 5:05 AM, Michael Foord wrote: > On 26/04/2010 13:03, Ben Rousch wrote: > >> On Mon, Apr 26, 2010 at 7:22 AM

Re: [IronPython] Convert a PythonBuffer to a byte[]

2010-04-26 Thread Dino Viehland
Jeff wrote: > I can't seem to find any easy to convert a PythonBuffer (created in > Python and passed to C#) to a byte[]. The best solution I've found so > far is to call __getslice__ to get a string and convert that to a > byte[]. Is there a better way to so this? If not, will __getslice__ > alway

[IronPython] Convert a PythonBuffer to a byte[]

2010-04-26 Thread Jeff Hardy
I can't seem to find any easy to convert a PythonBuffer (created in Python and passed to C#) to a byte[]. The best solution I've found so far is to call __getslice__ to get a string and convert that to a byte[]. Is there a better way to so this? If not, will __getslice__ always return a string, or

Re: [IronPython] ssl server mode issue

2010-04-26 Thread qiuyingbo
Dino,   I created the certificate in windows and got error under both .Net 2/4,  My environment is Windows XP SP3. Would you send your self-signed certificate to me? - 原文 - 发件人: Dino Viehland 主 题: Re: [IronPython] ssl server mode issue时 间: 2010年4月27日 4:02:34 That’s working for me as wel

Re: [IronPython] IronPython Source & VS2010

2010-04-26 Thread Dave Fugate
Yes and no. Take the 2010 source zip file (IronPython-2.6.1-Src-Net40.zip) from http://ironpython.codeplex.com/releases/view/36280 and run: Msbuild /t:rebuild /p:configuration="V4 Release" IronPython4.sln from the src directory. If you have only .NET 4.0 installed (that is, no VS 2010 insta

Re: [IronPython] Default-valued arguments to C# functions

2010-04-26 Thread Jeff Hardy
On Mon, Apr 26, 2010 at 2:41 PM, Dino Viehland wrote: > Jeff wrote: >> Interestingly, using DefaultValue worked for anything that wasn't an >> object - `[Optional][DefaultValue(-1)]int index` worked just fine. > > I think you should have been getting a value of 0 when the parameter > wasn't being

[IronPython] FW: IronPython Source & VS2010

2010-04-26 Thread Jimmy Schementi
Sending on behalf of Max Yaffe (maxya...@gmail.com): > > Can IronPython 2.6.1 be compiled in VS 2010 - release version? > > Thanks, > Max And to answer your question, yes, but there's not a VS2010-compatible sln file is in the CodePlex sources. Dave, and reason to not include IronPython2010.sln

[IronPython] IronPython Source & VS2010

2010-04-26 Thread Max Yaffe
Can IronPython 2.6.1 be compiled in VS 2010 - release version? Thanks, Max ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Accessing assembly names from Silverlight

2010-04-26 Thread Michael Foord
On 26/04/2010 21:40, Dino Viehland wrote: Michael wrote: Hello all, The following code dies in Silverlight: import clr clr.AddReference("System.Xml") "System.Xml" in [assembly.GetName().Name for assembly in clr.References] SystemError: Security transparent method System.Reflection.Assebly

Re: [IronPython] Default-valued arguments to C# functions

2010-04-26 Thread Dino Viehland
Jeff wrote: > Interestingly, using DefaultValue worked for anything that wasn't an > object - `[Optional][DefaultValue(-1)]int index` worked just fine. I think you should have been getting a value of 0 when the parameter wasn't being provided in this case. When something is optional but not typed

Re: [IronPython] Accessing assembly names from Silverlight

2010-04-26 Thread Dino Viehland
Michael wrote: > Hello all, > > The following code dies in Silverlight: > > import clr > clr.AddReference("System.Xml") > "System.Xml" in [assembly.GetName().Name for assembly in clr.References] > > SystemError: Security transparent method > System.Reflection.Assebly.GetName() cannot access > Mi

Re: [IronPython] Compile IronPython Script to EXE on Linux

2010-04-26 Thread Dino Viehland
Ben wrote: > OS: Ubuntu 9.10 using IronPython PPA > https://launchpad.net/~gezakovacs/+archive/ironpython > IronPython Version: IronPython 2.6 Beta 2 DEBUG (2.6.0.20) on .NET > 2.0.50727.1433 > Mono Version: Mono JIT compiler version 2.4.4 (Debian > 2.4.4~svn151842-1gezakovacs~karmic1) > > I'm hav

Re: [IronPython] AddReference to Silverlight toolkit assemblies

2010-04-26 Thread Lukas Cenovsky
Thanks. It works for me know. I don't remember exactly what I did wrong but probably I forgot to pack System.Windows.Controls.dll form SL SDK into SLToolkit.zip and it is probably referenced from System.Windows.Controls.Data.dll . -- -- Lukáš Jimmy Schementi wrote: Lukas, When you use

Re: [IronPython] Quickstart guide for Ironpython Studio

2010-04-26 Thread Michael Foord
On 26/04/2010 13:03, Ben Rousch wrote: On Mon, Apr 26, 2010 at 7:22 AM, Michael Foord wrote: On 26/04/2010 12:20, jon vs. python wrote: Hi, Is there any guide to get started with Ironpython Studio? Simple: 1) Uninstall 2) Delete all trace of it 3) Pick a working Python / IronPython IDE

Re: [IronPython] Quickstart guide for Ironpython Studio

2010-04-26 Thread Ben Rousch
On Mon, Apr 26, 2010 at 7:22 AM, Michael Foord wrote: > On 26/04/2010 12:20, jon vs. python wrote: > > Hi, Is there any guide to get started with Ironpython Studio? > > Simple: > > 1) Uninstall > 2) Delete all trace of it > 3) Pick a working Python / IronPython IDE > > Some alternatives are sugges

Re: [IronPython] Quickstart guide for Ironpython Studio

2010-04-26 Thread Michael Foord
On 26/04/2010 12:20, jon vs. python wrote: Hi, Is there any guide to get started with Ironpython Studio? Simple: 1) Uninstall 2) Delete all trace of it 3) Pick a working Python / IronPython IDE Some alternatives are suggested here: http://www.voidspace.org.uk/ironpython/tools-and-ides.sh

[IronPython] Quickstart guide for Ironpython Studio

2010-04-26 Thread jon vs. python
Hi, Is there any guide to get started with Ironpython Studio? Thanks, Jon. ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com