Posts
Showing posts from June, 2007
Hot on the heels of FBConsole 0.6 is... FBConsole 0.7
- Get link
- X
- Other Apps
Just after I discovered FBConsole 0.6 comes, uhm... FBConsole 0.7: FBConsole 0.7.0 Released Interestingly that announcement on Firebird news uses exactly the same wording from the post I made a few days ago. Maybe they think I understand Japanese? Anyway "FBConsole is an IronPython and Windows Forms console for working with the Firebird database ".
CarbonPython - Even More Python on .NET
- Get link
- X
- Other Apps
Antonio Cuni has just announced CarbonPython: CarbonPython - aka C# Considered Harmful CarbonPython is an RPython compiler for .NET, which can statically compile a subset of Python (Restricted Python) . The resulting assemblies can be used from IronPython and C#. You can also read my summary of the project.
Reading CSV Files, Folder Backup, Interop and the SaveFileDialog on the IronPython Cookbook
- Get link
- X
- Other Apps
IronPython Standard Library Patch Accepted into Python
- Get link
- X
- Other Apps
Guido has accepted a patch to the Python standard library inspect module as acceptable for inclusion in Python: Inspect Patch for IronPython (and Jython?) Compatibility The patch originates from the FePy project and could be in Python 2.6, and even the next bugfix release of 2.5. Note that Guido has only agreed that it can be applied, it hasn't actually happened yet... It is however, a good (if small) example of IronPython feeding back into CPython. This patch benefits other alternative implementations of Python as well as IronPython
Charting, MS SQL and MSO, & the CPython Server
- Get link
- X
- Other Apps
Wish IronPython could talk to CPython? Perhaps the CPython server can help (execute arbitrary Python code on a localhost webserver which returns the response defined in the code): The CPython Server Iain has created a comprehensive page on the IronPython Cookbook for: Managing SQL Server with SMO (Server Management Objects) Want to generate charts and graphs with IronPython? ZedGraph is a good fit: Generating Charts with IronPython and ZedGraph
Silverlight with HTML & Windows Flying Dudes on IronPython
- Get link
- X
- Other Apps
IronPython and Unicode
- Get link
- X
- Other Apps
Because IronPython strings are .NET strings, they are already Unicode strings. This means that string handling can be slightly different than with CPython. Generally things are better (less places where implicit decodes happen), but as always there are pitfalls. This entry notes a couple of the differences: IronPython and Unicode
BBC Basic for the CLR
- Get link
- X
- Other Apps
My first programming experiences were with BBC Basic, so it is nice to see that it isn't forgotten. Writing a BBC BASIC compiler for the CLR The toolset Robert is using includes: IronPython in which to write the compiler PLY - the Python Lex/Yacc-a-like BeebEm - BBC Micro emulator with BBC BASIC II Arculator - Acorn Archimedes emulator with BBC BASIC V Documentation in the form of BBC Micro and Archimedes user manuals, and various other information and examples on the web
New Entries in the IronPython Cookbook
- Get link
- X
- Other Apps
Recent additions to the IronPython Cookbook include: Creating a Shortcut File with WSH Interop Reading the Target of a Shortcut with Shell32 Interop Invoking onto the Control Thread (Windows Forms) Reading and Writing JPG Metadata with .NET 3 Transform XML Files with XSL Message Queuing Enumerating Installed Fonts
Nauman Leghari's on IronPython, GLEE, Cecil and More (Graphs)
- Get link
- X
- Other Apps
Nauman Leghari blogged recently on IronPython and Cecil : Fun with IronPython & Cecil Part I Fun with IronPython & Cecil Part II "Cecil is a library written by Jb Evain to generate and inspect programs and libraries in the ECMA CIL format. It has full support for generics, and support some debugging symbol format. In simple English, with Cecil, you can load existing managed assemblies, browse all the contained types, modify them on the fly and save back to the disk the modified assembly." He has followed thes up with: Fun with IronPython & GLEE GLEE is a .NET tool for graph layout and viewing. It has been developed in Microsoft Research. and then: Method Tree Visualizer :: Fun with IronPython, Cecil and Netron Graph - Part III As I said in the last post, the output from Microsoft GLEE looked but not ideal and as the method tree gets bigger with more relationships, the diagram gets out of control. Disappointed with that, my further search takes me to the Netron P...
IronPython in Visual Studio Shell
- Get link
- X
- Other Apps
Visual Studio 2008 includes a 'Shell' which allows you to create applications based on Visual Studio. Perhaps useful if you are creating an application which includes a development aspect. The main page shows IronPython being used in the shell, illustrating IronPython integration with Visual Studio 2008 and (presumably) a use case for the shell: Visual Studio 2008 Shell
IronPython, IronRuby, JRuby and the Python and Ruby Communities
- Get link
- X
- Other Apps
My commentary on the Ruby community reaction to IronRuby and comparisons with both JRuby and IronPython: IronPython, IronRuby, JRuby and the Python and Ruby Communities Of particular note is that the loss of 'multiple engines' from IronPython 1 to IronPython 2 (the jump to the DLR) may be more significant for IronRuby than it is for IronPython.
IronPython at TechEd
- Get link
- X
- Other Apps
News is coming in from TechEd , that despite not getting top billing, IronPython is still the star of the show: IronPython May Rival C# for XNA Game Development Actually, it sounds like Mahesh is just doing the demos that Jim showed at PyCon in February (plus some Silverlight fun), and the crowds are still loving it.
ToyScript: An Example Language Using the DLR
- Get link
- X
- Other Apps
The Dynamic Language Runtime (the DLR) is a hosting platform and dynamic type system for dynamic languages on .NET. It was abstracted out of the IronPython 1.0 code, and is the platform on which IronPython 2 and IronRuby (plus a couple of other languages) now run. John Lam has just announce ToyScript , an example implementation of a dynamic language on the DLR.
Python Binding: a SharpDevelop (IDE) Addin
- Get link
- X
- Other Apps
Python Binding is an IronPython 'addin' for SharpDevelop - an Open Source IDE for .NET. The planned features of PythonBinding 1.0 are: syntax highlighting and coloring form designer support code completion: type a period after a name and it will suggest alternatives, or hit control-space. compile to exe or dll, including a windows exe, or a console application (the console pauses so you can see the output). set compiler options, debug output templates to get you started: windows form, class example Update from Steve Gilham : the version of Python Binding available for download (0.5 beta) targets version 2.0 of Sharp Develop. The latest version is 2.1, which unfortunately is incompatible with Python Binding.
pyprof: Mono profiler for IronPython
- Get link
- X
- Other Apps
Seo has just announced the start of a mini(ish) project called pyprof: pyprof: Mono profiler for IronPython This is a project to get sys.setprofile for IronPython, enabling easier profiling of IronPython code. Initially Seo is targetting the Mono profiling API - but once stable he hopes to investigate the .NET API as well.
Making POSTs, Launching Subprocess and Wiki Additions
- Get link
- X
- Other Apps
Andrzej Krzywda has done a new blog entry: How to programmatically submit a POST form using IronPython Steve Gilham has done a blog entry about launching subprocesses with IronPython: Spawning a process in IronPython Both of these examples are in the IronPython Cookbook Wiki , along with several more additions like: Watching the FileSystem Connecting to Active Directory - using a Powershell assembly from IronPython Setting the Clipboard - Using Windows Forms to set the clipboard (and creating a Single Threaded Apartmentstate (STA) Thread). Working with File Paths has been expanded, and the following pages filled in: Core Concepts IronPython FePy: The IronPython Community Edition The DLR: Dynamic Language Runtime The .NET Framework Mono Silverlight