Skip to content Skip to sidebar Skip to footer
Showing posts with the label C#

Python's Xml.etree Getiterator Equivalent To C#

I have this XML file : http://dl.dropbox.com/u/10773282/2011/perf.xml It has two Class elements as… Read more Python's Xml.etree Getiterator Equivalent To C#

How To Reproduce System.security.cryptography.sha1managed Result In Python

Here's the deal: I'm moving a .NET website to Python. I have a database with passwords hash… Read more How To Reproduce System.security.cryptography.sha1managed Result In Python

Rabbitmq: Exchange->routingkey->queue Naming Structure

I am using a direct exchange as I want one job to go to one consumer. There are different groups of… Read more Rabbitmq: Exchange->routingkey->queue Naming Structure

How To Reference An Assembly Which Is Built Against Version 'v2.0.xxx' Of The Runtime In Ironpython 2.7?

I am trying to create wrapper for an assembly (thirdPartyDLL) which was built against version '… Read more How To Reference An Assembly Which Is Built Against Version 'v2.0.xxx' Of The Runtime In Ironpython 2.7?

C# Equivalent Of Rotating A List Using Python Slice Operation

In python, I can take a list my_list and rotate the contents: >>> my_list = list(range(10)… Read more C# Equivalent Of Rotating A List Using Python Slice Operation

Calling C# Object From Ironpython

I have the following C# code to compile it into MyMath.dll assembly. namespace MyMath { public … Read more Calling C# Object From Ironpython

Trouble Understanding Pass By Reference

I find it really confusing to understand pass by reference in c#. In my code I have function which … Read more Trouble Understanding Pass By Reference

Unsafe Image Processing In Python Like Lockbits In C#

Is it possible to do Unsafe Image Processing in Python? As with C# I encountered a hard wall with m… Read more Unsafe Image Processing In Python Like Lockbits In C#