blob: 97e9c7014a018f950d5d94ff4f769f74660d3c48 (
plain)
1
2
3
4
5
6
7
8
9
10
|
import os
import base64
# noinspection PyUnresolvedReferences
def _action_wolfram(_input):
result = subprocess.run('node wolfram.js \"' + base64.b64encode(_input.encode("utf-8")).decode('utf-8') + '\"',
shell=True, check=True, capture_output=True).stdout.decode('utf-8').strip()
say(result)
return
|