Last active
January 9, 2023 07:09
-
-
Save six-ddc/46fac8a1c761f30705bc8f186402ca35 to your computer and use it in GitHub Desktop.
python test for Gandi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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