Hello,
I'm playing around with list in IronPython 0.9.2, when
I found that error messages regarding the (wrong)
number of arguments passed into a function always
tells you that the function takes 0 argument:
>>> horsemen = ["Pestilence", "War", "Famine",
"WebSphere"]
>>> horsemen.count()
Traceba
Hello,
I'm trying to print the contents of a Dictionary. In C# I can do this:
foreach (KeyValuePair pair in myDict)
{
Console.WriteLine(pair.ToString());
}
However, in IP, typing this:
>>> myDict = Dictionary[int, str]()
>>> # ... do stuff here ...
>>> for pair in myDict:
... print str
Uh, by workaround, I mean the one that gets me
KeyValuePair, not the workaround to print
the key and value--one can easily do that with the
properties of DictionaryEntry :)
Thanks,
Ray
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
Hi there,
I was just wondering if it will be possible to write ASP.NET 2.0 applications in IronPython.
Thanks!
Giammarco
___
users-ironpython.com mailing list
users-ironpython.com@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-iron