Transcrypt
Transcrypt copied to clipboard
... in python code aborts compilation
$> transcrypt -b -n -m transcrypttest.py
Transcrypt (TM) Python to JavaScript Small Sane Subset Transpiler Version 3.9.0
Copyright (C) Geatec Engineering. License: Apache 2.0
Saving target code in: /home/linkus/trading/__target__/org.transcrypt.__runtime__.js
Error while compiling (offending file last):
File 'transcrypttest', line 43, namely:
Error while compiling (offending file last):
File 'transcrypttest', line 43, namely:
Aborted
removing ... fixes
Can you show an example of the actual Python code your were trying to transpile?
In general, the Python code has to be syntactically correct Python since it is processed by the Python AST module when being converted to JavaScript.