Skip to content

Instantly share code, notes, and snippets.

@six-ddc
Last active January 9, 2023 07:09
Show Gist options
  • Save six-ddc/46fac8a1c761f30705bc8f186402ca35 to your computer and use it in GitHub Desktop.
Save six-ddc/46fac8a1c761f30705bc8f186402ca35 to your computer and use it in GitHub Desktop.
python test for Gandi
import json
# from pyodide import code
# print('js', dir(js))
v = 0;
def calc(a):
global v
v += 1
return json.dumps({'a': a + v, 'b': True})
if __name__ == '__main__':
print('__main__')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment