Skip to content

Commit b941a1e

Browse files
author
Troy Melhase
committed
Play.
1 parent a2b85ae commit b941a1e

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,22 @@ I'm in the process of finalizing the documentation and packaging a release. Tha
99

1010
Hello, world example:
1111

12+
```bash
1213
$ cat HelloWorld.java
14+
```
15+
```java
1316
// This is the HelloWorld class with a single method.
1417
class HelloWorld {
1518
public static void main(String[] args) {
1619
System.out.println("Hello, world.");
1720
}
1821
}
22+
```
1923

24+
```bash
2025
$ j2py HelloWorld.java
26+
```
27+
```python
2128
#!/usr/bin/env python
2229
""" generated source for module HelloWorld
2330
@@ -34,8 +41,7 @@ Hello, world example:
3441
"""
3542
print "Hello, world."
3643

37-
3844
if __name__ == '__main__':
3945
import sys
4046
HelloWorld.main(sys.argv)
41-
47+
```

0 commit comments

Comments
 (0)