TranscryptOrg / Transcrypt

Python 3.9 to JavaScript compiler - Lean, fast, open!
https://www.transcrypt.org
Apache License 2.0
2.85k stars 214 forks source link

Missing string when translating #792

Open streetartist opened 3 years ago

streetartist commented 3 years ago

image Translating into image I am using Python3.4.3

JennaSys commented 3 years ago

Based on the output from Transcrypt, you are using Transcrypt version 3.9 and the lower left corner of VS Code shows Python 3.7. The version of Transcrypt and Python have to match so that the Python AST is transpiled correctly. So you either need to use Transcrypt 3.7.16 or update the version of Python you are using to 3.9.x

streetartist commented 3 years ago

Thank you. and I think you should write it in the Readme

straaljager commented 2 years ago

I'm seeing similar issues with missing numbers and strings in a relatively simple program (using Transcrypt 3.9.0 and Python 3.9.0 on Windows 10):

fibonacci_transcrypt_compiling_errors

The same thing also happens in the org.transcrypt.runtime.js file.