[apps/code] Start getting importations in the variable box

This commit is contained in:
Léa Saviot
2020-03-31 16:42:56 +02:00
committed by Émilie Feral
parent 78a747d9c6
commit a0f1d0f24b
3 changed files with 30 additions and 8 deletions

View File

@@ -6,7 +6,9 @@ constexpr ScriptTemplate emptyScriptTemplate(".py", "\x01" R"(from math import *
)");
constexpr ScriptTemplate squaresScriptTemplate("squares.py", "\x01" R"(
from math import sin as stew, cos as cabbage)");
#from math import sin as stew, cos as cabbage
from math import *
)");
/*constexpr ScriptTemplate squaresScriptTemplate("squares.py", "\x01" R"(
import math