aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/py_native/bin.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/py_native/bin.py')
-rw-r--r--examples/py_native/bin.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/py_native/bin.py b/examples/py_native/bin.py
new file mode 100644
index 0000000000..f79379a237
--- /dev/null
+++ b/examples/py_native/bin.py
@@ -0,0 +1,4 @@
+"""A tiny example binary for the native Python rules of Bazel."""
+from examples.py_native.lib import GetNumber
+
+print "The number is %d" % GetNumber()