[IronPython] 'map' not working the same between IronPython-0.7.xand IronPython-0.9?
sdrucker at microsoft.com
Wed Aug 3 22:01:51 CEST 2005
Typo in the sample - should read:
filesraw = System.IO.Directory.GetFiles('D:\\temp\\photos');
From: users-ironpython.com-bounces at lists.ironpython.com
[mailto:users-ironpython.com-bounces at lists.ironpython.com] On Behalf Of
Sent: Wednesday, August 03, 2005 12:55 PM
To: users-ironpython.com at lists.ironpython.com
Subject: [IronPython] 'map' not working the same between
I used to be able to do the following code:
filesraw = System.IO.Directory('D:\\temp\\photos");
and it would work just fine.
Now, however, this is no longer working.
The error I get is as follows:
PythonTypeError: foo() takes exactly 1 argument, (97 given)
This seems like it should work since filesraw is enumerable and in fact,
I can do the following:
for file in filesraw:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ironpython-users