Rag*_*gav 2 python linux environment-variables
我的代码中有五个线程...
main.py启动了五个线程
所以对于每个正在运行的线程,我需要将diff IP设置为环境值
thread-1: has to set 192.168.10.2
thread-2: has to set 192.168.10.3
thread-3: has to set 192.168.10.4
thread-4: has to set 192.168.10.5
thread-5: has to set 192.168.10.6
Run Code Online (Sandbox Code Playgroud)
请指导我解决这个问题