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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py2java-0.0.11.tar.gz
(3.8 kB
view hashes)