How to get and set environment variables in Python? import os ... add new directory to system PATH ... os.environ['PATH'] += os.pathsep + newpath. # or, set ...
確定! 回上一頁