gopy/_examples/gostrings/test.py

14 lines
343 B
Python
Raw Normal View History

2017-08-07 13:29:31 +00:00
# Copyright 2017 The go-python Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
## py2/py3 compat
from __future__ import print_function
import gostrings
print("S1 = %s" % (gostrings.S1(),))
2017-08-07 13:29:31 +00:00
print("GetString() = %s" % (gostrings.GetString(),))
2019-01-16 13:47:57 +00:00
print("OK")