Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not sure which version of IronPython you tested, but I would strongly suggest looking at it again. The latest version of IronPython is built against the 2.6 standard, which is the version of python that most other users are using. It can be a bit more verbose than some scripting languages, but feels more like a full programming language ala C# to me then a scripting language. Doing work with <a href="http://codeblog.theg2.net/2009/06/ironpython-date-selector-pick-date-any.html" rel="nofollow noreferrer">classes</a> and <a href="http://codeblog.theg2.net/2010/02/parallel-foreach-file-processing-in.html" rel="nofollow noreferrer">multiple threads</a> is much easier in IronPython then in Powershell. Plus you get the benifit of being able to utilize .NET libraries and assemblies like you can in Powershell. (For cross platform code you would need to stick with just python classes)</p> <p>My typical approach is to use Powershell when I need to hack something together or do system managment tasks (files, registry, wmi, etc), IronPython if it is more complex or a small side code project, and then C# for commercial grade code. They each offer a different way of thinking (pipes, dynamic typing, static typing) but all use the same basic .NET libraries so I don't have to figure out how to parse datetimes again when changing between languages.</p> <p>As for your requirements, IronPython/python seem to fit them very well:</p> <ol> <li>Readability and consistency are <a href="http://www.python.org/dev/peps/pep-0020/" rel="nofollow noreferrer">two primary goals of python</a></li> <li>Languange documentation is good and code documentation is a <a href="http://www.python.org/dev/peps/pep-0257/" rel="nofollow noreferrer">pillar of python</a></li> <li>Usefullness, libraries: You get the full power of .NET, so same as what you could do in Powershell</li> <li>Stability: latest IronPython is very stable (<a href="http://www.resolversystems.com/" rel="nofollow noreferrer">Resolver One</a> uses and is built completely in IronPython)</li> <li>WTF moments... Can't help you there, but it still is a REPL so you can at least poke around to find what's wrong :-P</li> </ol> <p>The one area that I would say the IronPython is lacking severely is in tool support. Powershell has some <a href="http://powergui.org" rel="nofollow noreferrer">great script editors</a>, but so far the best editor I have found for IronPython is a combination of Notepad++ and, oddly enough, Resolver One's built in python console, which has decent code completion and is easy to pipe data out to a grid since it is a spreadsheet application. Also you sometimes have a problem of "Living in two worlds", where there is a python way to do something and a .NET way of doing something and you have to choose (compatibility vs .NET familiarity). And while IronPython can be used for simple scripting, if you are mainly dealing with simple files, the registry, or xml then Powershell is by far the way to go. Ironpython just helps to fill the gap between a pure scripting language and a full programming language.</p> <p>Hope that helps. I have some examples of <a href="http://codeblog.theg2.net/search/label/IronPython" rel="nofollow noreferrer">IronPython</a> and <a href="http://codeblog.theg2.net/search/label/PowerShell" rel="nofollow noreferrer">Powershell</a> on my blog. I have only been using IronPython for about a year now, but having come from a C# background it is very interesting to see how programming in a dynamic language works. Also the <a href="http://www.trypython.org/" rel="nofollow noreferrer">TryPython.Org</a> site is a great way to start using IronPython right from your browser!</p> <p>Best of luck!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload