Re: [Jgeneral] python

2018-02-19 Thread David Mitchell
Eric, This seems to fix it for windows on my system: j.py 86 p= numpy.asarray(d.shape) -> 86 p= numpy.asarray(d.shape,c_longlong) On 2/19/2018 10:20, Eric Iverson wrote: Mitchell - python Looks like something is wrong with j.set on windows. Please try a simpler example: j.do('abc=: i.2

Re: [Jgeneral] python

2018-02-19 Thread Eric Iverson
Mitchell - python Looks like something is wrong with j.set on windows. Please try a simpler example: j.do('abc=: i.2 3') q= j.get('abc') j.set('ghi',q) j.get('ghi') Also try with bytes rather than numpy array. j.set('foo','wert') j.get('foo') I am reluctant now to divert to python on

Re: [Jgeneral] python

2018-02-19 Thread David Mitchell
I suspect it is not intended. I get this result in Centos 7: Python 3.6.4 (default, Feb 19 2018, 01:54:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import j >>> j.init(True) >>> j.do('abc=: i.2 3') 0 >>> q=

Re: [Jgeneral] python

2018-02-19 Thread bill lam
> array([], shape=(12884901890, 0), dtype=int64) the shape returned is strange, is it intended? Пн, 19 фев 2018, David Mitchell написал(а): > I tried it on win10pro and got this: > > Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit > (AMD64)] on win32 > Type "help",