I can\'t import a module using the eval() function.
eval()
So, I have a function where if I do import vfs_tests as v it works. However, the same i
import vfs_tests as v
Actually. if you absolutely need to import using eval (for example, code injection), you can do it as follow in Python 3, since exec is a function:
eval
exec
eval("exec('import whatever_you_want')")
For example: