erg/examples/pyimport.er
Shunsuke Shibayama ae15f95191 Fix bugs
2022-10-18 17:17:56 +09:00

7 lines
151 B
Python

math = pyimport "math"
sys = pyimport "sys"
sub = pyimport "subprocess"
print! math.pi
discard sub.run! ["echo", "hello"], shell := True
sys.exit 111