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
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
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
>
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
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
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
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
.
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
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
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
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
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
--
>
> 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
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
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.
>
(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.
>
;
> > 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
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
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
>>
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
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
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: 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
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
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.
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
?
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
>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.
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
29 matches
Mail list logo