PyRun_String run python script, but the script can't change globals

前端 未结 0 623
攒了一身酷
攒了一身酷 2021-01-13 13:17

I have a script which just test that import xxx change change globals.

import time
print(globals())


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题