[IronPython] ImportError: No module named
cgencer at gmail.com
Thu Apr 8 13:56:31 PDT 2010
On Thu, Apr 8, 2010 at 10:12 PM, Richard Steventon <steventon at gmail.com> wrote:
> Hi all,
> I am moving some code from Python to IronPython (latest) so I can
> access Excel XLSX files. The code is a loose bunch of files in a
> single directory.
> Within main.ipy, I do:
> from accessFunctions import *
> Which gives:
> ImportError: No module named accessFunctions
> Checked the path. That's ok. So I googled, and found Ben Hall's
> blog: http://blog.benhall.me.uk/2008/05/ironpython-classes-within-separate.html
> Which shows that it should work....
> Any ideas ?
I think you need to use the .py extension, not .ipy
More information about the Users