Compressed ultrafast photography (CUP) is the fastest single-shot passive ultrafast optical imaging technique, which has shown to be a powerful tool in recording self-luminous or non-repeatable ultrafast phenomena. However, the low fidelity of image
eval前言
In [1]: eval(2+3)
Out[1]: 5
In [2]: eval('[x for x in range(9)]')
Out[2]: [0, 1, 2, 3, 4, 5, 6, 7, 8]
当内存中的内置模块含有os的话,eval同样可以做到命令执行:
In [3]: import os
In [4]: eval(os.system('whoami'))
hy-201707271917\administrator
Out[4]: 0
当然,eval只能执行Py