Django on IronPython

Besides the Jeff Hardy blog post on Django + IronPython mentioned by Tony Meyer, it might be useful to also read Jeff’s two other posts in the same series on his struggles with IronPython, easy_install and zlib. The first is Solving the zlib problem which discusses the absence of zlib for IronPython; hence, no easyinstall. … Read more

Calling a C# library from python

It is actually pretty easy. Just use NuGet to add the “UnmanagedExports” package to your .Net project. See https://sites.google.com/site/robertgiesecke/Home/uploads/unmanagedexports for details. You can then export directly, without having to do a COM layer. Here is the sample C# code: using System; using System.Collections.Generic; using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using RGiesecke.DllExport; class Test … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)