Re: [Jprogramming] Calling j.dll from python

2014-07-23 Thread bill lam
d, or at least a Python -> J connection, would probably be > of a lot of interest to many J users. > > > > Date: Tue, 22 Jul 2014 08:11:24 +0800 > > From: bbill@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] Calling j.dll from py

Re: [Jprogramming] Calling j.dll from python

2014-07-22 Thread Jon Hough
gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > > This alone may fail because profile.ijs expected 2 predefined nouns and the > front end is responsible to define them. please see j user manual. > > Alternatively, one may crea

Re: [Jprogramming] Calling j.dll from python

2014-07-21 Thread bill lam
gt; > looking. I've read through a few different pages but cannot find what it > is > > I am missing. > > If anyone can point me in the right direction, I'd be very grateful. > > > Date: Sat, 19 Jul 2014 23:50:21 +0800 > > > From: bbill@gmail.com >

Re: [Jprogramming] Calling j.dll from python

2014-07-21 Thread bill lam
unsure specifically in the J manual where I am supposed to be > looking. I've read through a few different pages but cannot find what it is > I am missing. > If anyone can point me in the right direction, I'd be very grateful. > > Date: Sat, 19 Jul 2014 23:50:21 +0800 &g

Re: [Jprogramming] Calling j.dll from python

2014-07-21 Thread Joe Bogner
me in the right direction, I'd be very grateful. > > Date: Sat, 19 Jul 2014 23:50:21 +0800 > > From: bbill@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] Calling j.dll from python > > > > I suspect you failed to load profile.ijs

Re: [Jprogramming] Calling j.dll from python

2014-07-21 Thread Jon Hough
n the J manual where I am supposed to be looking. I've read through a few different pages but cannot find what it is I am missing. If anyone can point me in the right direction, I'd be very grateful. > Date: Sat, 19 Jul 2014 23:50:21 +0800 > From: bbill....@gmail.com > To: pr

Re: [Jprogramming] Calling j.dll from python

2014-07-19 Thread bill lam
ll its verbs through a Python interface and display its results in > > > Python/TKinter. > > > > > > > Date: Sat, 19 Jul 2014 14:04:32 +0800 > > > > From: bbill@gmail.com > > > > To: programm...@jsoftware.com > > > > Subject: Re: [Jprogra

Re: [Jprogramming] Calling j.dll from python

2014-07-19 Thread Jon Hough
. However, I feel I am at the final hurdle now. I can run and read output of J commands, but am unable to load my scripts. Thanks. > From: m...@0branch.com > Date: Sat, 19 Jul 2014 11:32:39 +0100 > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > &g

Re: [Jprogramming] Calling j.dll from python

2014-07-19 Thread Jon Hough
Date: Sat, 19 Jul 2014 18:08:19 +0800 > From: bbill@gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > > Did you load profile.ijs during booting? > Where is your working directory? > How do you verify script was loaded? &g

Re: [Jprogramming] Calling j.dll from python

2014-07-19 Thread Marc Simpson
Hi Jon, On Sat, Jul 19, 2014 at 5:41 AM, Jon Hough wrote: > Well, my plam, which may be stupid, is to create a pythin, tkinter UI and > call j from this. Did you consider building your GUI using wd? If so, why did you adopt Python/Tk instead? Best, Marc

Re: [Jprogramming] Calling j.dll from python

2014-07-19 Thread bill lam
moment, as I really want to load my script and > call its verbs through a Python interface and display its results in > Python/TKinter. > > > Date: Sat, 19 Jul 2014 14:04:32 +0800 > > From: bbill@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jpr

Re: [Jprogramming] Calling j.dll from python

2014-07-19 Thread Jon Hough
From: bbill@gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > > There is another j ide written in javascript and python. search > for qjide in jwiki and you may find something useful. > > Сб, 19 июл 2014, Jon Hough написал(а): &g

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread bill lam
-- > > From: "Devon McCormick" > Sent: July 19, 2014 1:01 PM > To: "J-programming forum" > Subject: Re: [Jprogramming] Calling j.dll from python > > For what you want to do, could you do it the other way around: call Python > from J? Or, alternatively

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
Well, my plam, which may be stupid, is to create a pythin, tkinter UI and call j from this. --- Original Message --- From: "Devon McCormick" Sent: July 19, 2014 1:01 PM To: "J-programming forum" Subject: Re: [Jprogramming] Calling j.dll from python For what you want to

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Devon McCormick
gt; 0, 1, 2, 3, 4, 5]) > > Thanks! > > > Date: Fri, 18 Jul 2014 22:19:47 -0400 > > From: joebog...@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] Calling j.dll from python > > > > Jon - it's trickier than I thought. >

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
(shap)>1:shd=[]start=0 last_size=shap.pop()while start Date: Fri, 18 Jul 2014 22:19:47 -0400 > From: joebog...@gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > > Jon - it's trickier than I thought. >

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Joe Bogner
; > > From: bbill@gmail.com > > Date: Sat, 19 Jul 2014 07:27:03 +0800 > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] Calling j.dll from python > > > > Set and get data using j.dll can be quite involving. If you use windows, > it is much

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
at, 19 Jul 2014 07:27:03 +0800 > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > > Set and get data using j.dll can be quite involving. If you use windows, it > is much easier you to use to ole/com interface, search jwiki for more inf

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread bill lam
tM i x *c *x *x *x *x''e p n t r s d'=. cmd cd > pJ,(,y);4#<,0if. e do. smoutput 'error code: ',":e return.end.(t,r,s) jfix > d) > In particular > JGetM i x *c *x *x *x *x > is confusing. >> Date: Fri, 18 Jul 2014 10:53:44 -0400 >>

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Joe Bogner
o make much sense of it: > jget=: 3 : 0cmd=. libj,' JGetM i x *c *x *x *x *x''e p n t r s d'=. cmd cd > pJ,(,y);4#<,0if. e do. smoutput 'error code: ',":e return.end.(t,r,s) > jfix d) > In particular > JGetM i x *c *x *x *x *x > is confusin

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
cmd cd pJ,(,y);4#<,0if. e do. smoutput 'error code: ',":e return.end.(t,r,s) jfix d) In particular JGetM i x *c *x *x *x *x is confusing. > Date: Fri, 18 Jul 2014 10:53:44 -0400 > From: joebog...@gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jpr

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
means. Is that the pointer address of > > > something? > > > And then: > > > >>> j.JDo("x =: 3")Segmentation fault (core dumped) > > > And Python (2.7) crashed. > > > > > > > Date: Fri, 18 Jul 2014 22:09:28 +0800 > >

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Joe Bogner
> > From: jgho...@outlook.com > > To: programm...@jsoftware.com > > Date: Fri, 18 Jul 2014 15:50:41 +0100 > > Subject: Re: [Jprogramming] Calling j.dll from python > > > > Joe, thanks. Your suggestion seems to work. > > However JGets seems to not exist.How do I th

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
Please ignore the last sentence from my previous email. Copied and pasted by accident. > From: jgho...@outlook.com > To: programm...@jsoftware.com > Date: Fri, 18 Jul 2014 15:50:41 +0100 > Subject: Re: [Jprogramming] Calling j.dll from python > > Joe, thanks. Your sugges

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Joe Bogner
above output means. Is that the pointer address of > > something? > > And then: > > >>> j.JDo("x =: 3")Segmentation fault (core dumped) > > And Python (2.7) crashed. > > > > > Date: Fri, 18 Jul 2014 22:09:28 +0800 > > > From: bbill.

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Thomas Costigliola
t (core dumped) > And Python (2.7) crashed. > > > Date: Fri, 18 Jul 2014 22:09:28 +0800 > > From: bbill@gmail.com > > To: programm...@jsoftware.com > > Subject: Re: [Jprogramming] Calling j.dll from python > > > > From which resource did you learn that(no

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Jon Hough
? And then: >>> j.JDo("x =: 3")Segmentation fault (core dumped) And Python (2.7) crashed. > Date: Fri, 18 Jul 2014 22:09:28 +0800 > From: bbill@gmail.com > To: programm...@jsoftware.com > Subject: Re: [Jprogramming] Calling j.dll from python > > From which reso

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread bill lam
>From which resource did you learn that(not python)? It should be very out dated. On Jul 18, 2014 6:00 PM, "Jon Hough" wrote: > I am trying to call jdll.JDo from python but I get the error message, > access violation. > > Here is my python. > > Cdll.LoadLibrary(path to j.dll) > J =CDLL(path to j.

Re: [Jprogramming] Calling j.dll from python

2014-07-18 Thread Thomas Costigliola
Hi, Jon, are you calling JInit first? You have to make sure you call that before JDo. On Fri, Jul 18, 2014 at 6:00 AM, Jon Hough wrote: > I am trying to call jdll.JDo from python but I get the error message, > access violation. > > Here is my python. > > Cdll.LoadLibrary(path to j.dll) > J =CDL