+ 1
How can i import a module via the eval() function?
eval(" ") #how?
5 Answers
+ 8
math = eval('__import__("math")')
print(math)
+ 8
But why eval() it,when you can just use it directly?
+ 1
á á brains just interesting
0
im stuck on the stuff
0
matthew why?
do you know this language?