|
calling J from Python: msg#00262lang.j.general
I have been looking at Python a bit and there is amazing amount of tutorials available. My main interest was to be able to call J from Python. After reading a bit I found a really easy way of calling J exit +/i.6import os 15return_code After reading quite a bit of Python it is interesting how similar Python is in many ways. It would be interesting to add J examples to the Python material. The docs I have looked at compare Python quite a bit with VB script, Javascript and C Many of the examples given would be interesting to demonstrate in J as well or in a similar manner. It is dead easy to let J do more advanced things from Python return_code = os.system ('c:\\j601\\plot.bat') C:\Python25>cd \j601 C:\j601>j -jijx system\examples\graphics\plot\plotdemo.ijs -- Björn Helgason, Verkfræðingur Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127 801 Grímsnes ,t-póst: gosinn@xxxxxxxxx Skype: gosiminn, gsm: +3546985532 Landslags og skrúðgarðagerð, gröfuþjónusta http://groups.google.com/group/J-Programming Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans góður kennari getur stigið á tær án þess að glansinn fari af skónum /|_ .-----------------------------------. ,' .\ / | Með léttri lund verður | ,--' _,' | Dagurinn í dag | / / | Enn betri en gærdagurinn | ( -. | `-----------------------------------' | ) | (\_ _/) (`-. '--.) (='.'=) `. )----' (")_(") |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: cgi stdin buffer: 00262, bill lam |
|---|---|
| Next by Date: | Re: cgi stdin buffer: 00262, Oleg Kobchenko |
| Previous by Thread: | Improving J systemi: 00262, Oleg Kobchenko |
| Next by Thread: | Handling large amounts of data: 00262, Devon McCormick |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |