Spaces:
Runtime error
Runtime error
Create utils/SaveFunction.py
Browse files- utils/SaveFunction.py +4 -0
utils/SaveFunction.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
def save_function(code):
|
2 |
+
function = open('output.py', 'w')
|
3 |
+
function.write(code)
|
4 |
+
function.close()
|