Skip to main content

Python to Java language translator

Project description

Python to Java language Translator

Install: ```pip install py2java``` import: ```python from py2java import PythonToJava ``` Usage: ```python sourceText = """ sourceText = "test" def main(): print(sourceText) class lol(object): \"\"\"docstring for lol\"\"\" _LOL = "test" # test variable """ translator = PythonToJava(useRegex=1) print(translator.compile(sourceText)) ```

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for py2java, version 0.0.11
Filename, size File type Python version Upload date Hashes
Filename, size py2java-0.0.11-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size py2java-0.0.11.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page