[Nexus] Nexus with python on windows
Darren Dale
darren.dale at cornell.edu
Tue Nov 20 00:28:12 GMT 2007
On Monday 19 November 2007 04:13:33 pm Jon Wright wrote:
> Hi Darren, Andy;
>
> There is a nice video introduction to PyTables at:
>
> http://www.carabos.com/videos/pytables-1-intro
>
> I'd be curious as to how hard it is to write a Nexus compliant hdf file
> using PyTables.
>
> > I know he has grappled with Python and Nexus in the past
>
> Hmm... clearly not an expert, I lost that fight. Freddie did compile the
> python bindings for us a while back. Having gotten the executables I
> tried again just now and am not able to get past the testcase which
>
> comes with them:
> >>> import nxpython
> >>> h = nxpython.nx_open("nxpython_test.nxs", nxpython.NXACC_CREATE)
Where did you get nxpython_test.nxs? It is not included in the 4.1.0 tarball,
nor in my svn checkout. I can import nxpython in the python interpretter, but
when I tried running nxpython_test.py I got a seg fault, maybe because it is
trying to access a nonexistent file.
Darren
More information about the NeXus
mailing list