-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6af3b61
commit f5ee51f
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
Pyja-20.09.22/Pyja/20.09.22/Salak/Jep/3.7.1/190101-1432-jep-corretto-8.bat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@ECHO OFF | ||
SETLOCAL | ||
|
||
SET __SAC_KAPA_HM=C:\ProgramData\Bichon Frise\Kapa | ||
SET __SAC_JAVA_HM=%__SAC_KAPA_HM%\19.11.01\Vindue\x64\Amazon\Corretto\8.232.09.1 | ||
SET __SAC_PYTHON_HM=%__SAC_KAPA_HM%\19.01.22\Vindue\x64\Anaconda\5.1.0 | ||
SET __SAC_JEP_PN=%__SAC_PYTHON_HM%\Lib\site-packages\jep | ||
SET __SAC_JEP_JAR_FN=%__SAC_JEP_PN%\jep-3.7.1.jar | ||
|
||
SET PYTHONHOME=%__SAC_PYTHON_HM% | ||
SET PATH=%PYTHONHOME%;%SystemRoot%\System32 | ||
|
||
SET __SAC_ARGS=%* | ||
IF "%__SAC_ARGS%"=="" ( | ||
SET __SAC_ARGS="%__SAC_JEP_PN%\console.py" | ||
) | ||
|
||
"%__SAC_JAVA_HM%\bin\java.exe" -classpath "%__SAC_JEP_JAR_FN%" -Djava.library.path="%__SAC_JEP_PN%" jep.Run %__SAC_ARGS% |
16 changes: 16 additions & 0 deletions
16
Pyja-20.09.22/Pyja/20.09.22/Salak/Jep/3.7.1/190101-1445-hello.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import jep | ||
import platform | ||
from java.lang import System | ||
|
||
def gf_jcls (x_it) : return jep .findClass (x_it) | ||
|
||
CjArrayList = gf_jcls ('java.util.ArrayList') | ||
|
||
def gf_2ja ( * x_args ) : # to (j)ava (a)rray | ||
fu_al = CjArrayList () | ||
for bu2_it in x_args : fu_al .add (bu2_it) | ||
return fu_al .toArray () | ||
|
||
print ( 'Java version (자바 버전) => ' + System .getProperty ("java.version") ) | ||
System.out .printf ( 'Python version (파이썬 버전) => %s\n', gf_2ja ( platform .python_version () ) ) | ||
System.out .println ( "Hello Python (안녕 파이썬) !!!" ) |