Posts

Showing posts with the label console

Command Line Options and Configuring Your Engine

Image
The blog entry I'm focusing on here is in Russian. Normally this means I would mention it one of the "good mix" posts but not spend too much time on it, however it makes a useful point that I think is worth explaining: Поддержка sys._getframe в IronPython. First of all the author recommends Eclipse 3.5 , along with PyDev 1.4.7 and IronPython 2.6 Beta 2 - which in itself is an interesting combination for IronPython development. (Ironic that the big Java IDE has much better support for IronPython than the big .NET IDE.) One of the new things in IronPython 2.6, and in fact the reason that PyDev is able to have support for things like debugging IronPython code, is support for Python stack frames and APIs like sys._getframe , sys.settrace and so on. To run IronPython with this enabled you need to use a magic command line switch, of which IronPython has many. You can get a list of them by running ipy.exe -? : None of the ones above are standard to Python, although some of th...

A Good Mix 8: Python 101, Regular Expressions, Silverlight, IronRuby and More

The Coding Geekette is a Python and .NET developer who has spoken on IronPython at many developer conferences including PyCon . Her next adventure is teaching .NET developers Python in Cleveland: Python 101 for the .NET Developer What: "Python 101 for the .NET Developer" with Sarah Dutkiewicz, Cleveland C#/VB.NET SIG When: Tuesday, June 23, 6:30-8:30pm Where: Beacon Place Conference Center, Beacon Place Office Building, 6055 Rockside Woods Blvd, Lower Level, Independence, OH 44131 Python and .NET Regular Expressions at the Interactive Interpreter This blog entry (non-English) shows two interactive sessions using the System.Text.RegularExpressions.Regex class; performing the same task from both IronPython (2.6 beta) and IronRuby (0.4). The interactive interpreter is a great environment for experimenting, and the sessions ably demonstrate this. Of course you could also achieve the same thing with the Python re module . This is true of many things in IronPython, file and path ...

SAP DI Commander - an Interactive IronPython Environment

Python tools for working with the 'uber-enterprise' SAP, are not something I hear about very often, but this one is interesting and is based on IronPython. DIC is an interactive environment for working with SAP Business 1 through the COM API: DI Commander 2.0 - The New Generation Scripting Tool There is a rather better introduction in the article where he introduced version 1 of DIC: Get Your Kicks with DI Commander The introductory quote of that article explains why he wrote DIC: If you have been involved with SAP Business One implementation projects, I'm sure you have at some point faced a situation where you needed to quickly modify a large amount of records in the customer's database. Here are some real-world examples from my past projects: Change the default warehouse for 2,000 items in the database Remove 4,000 items that were imported with an incorrect item number Remove a few thousand items (from a total item count of 50,000) that have not been used in any tran...

Silverlight Console (and Silverlight Interactive Interpreter)

Jamie Cansdale has been exploring running Silverlight programs as console applications, rather than in the browser. Silverlight Console Applications His experimenting includes the IronPython interactive shell running as a console application inside Silverlight. The reason for this experimentation is ' so that unit tests can be executed inside the CoreCLR '.