Download Jar. Uses 36155K of libraries. Click here for Pure Java version (5929L/42K).
1 | !7 |
2 | |
3 | lib 1400166 // jython 2.7 |
4 | |
5 | import org.python.core.*; |
6 | import org.python.util.*; |
7 | |
8 | p-exp { |
9 | File dir = userDir("dev/AIRIS_Public-master"); |
10 | time "Make Interpreter" { |
11 | PythonInterpreter.initialize(new Properties, litprop("python.path" := f2s(dir)), new S[0]); |
12 | new PythonInterpreter py; |
13 | } |
14 | py.execfile(f2s(newFile(dir, "basic_example_jython.py"))); |
15 | } |
Began life as a copy of #1021053
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021195 |
Snippet name: | AIRIS basic_example.py [dev.] |
Eternal ID of this version: | #1021195/1 |
Text MD5: | ab533b670799e94702690d2ccfc4e2a9 |
Transpilation MD5: | 073ac68d852304ae1808d9271ce521e8 |
Author: | stefan |
Category: | javax / a.i. / airis |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-02 16:17:29 |
Source code size: | 375 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 438 / 1024 |
Referenced in: | [show references] |