Created
August 10, 2011 19:10
-
-
Save bricef/1137848 to your computer and use it in GitHub Desktop.
Python script to be used from Java
This file contains hidden or 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
#!/usr/bin/env python | |
class PythonClass: | |
def __init__(self): | |
"""A dummy constructor""" | |
def mySimpleMethod(self): | |
return "Hello World!" | |
anInstance = PythonClass() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment