Answer the question
In order to leave comments, you need to log in
How to automate adding to path?
Hello, dear participants of the toaster. Could you give me some hints about Python automating work related to environment variables (Namely Path) in operating systems such as Windows and Linux. In what direction should you rake up the Internet? Thanks in advance for your advice.
Answer the question
In order to leave comments, you need to log in
It's not entirely clear what you want, but you can, for example, use *.pth files. It is very convenient to store paths in them. You can put it in a folder with a python (which is registered in the path) and they will be picked up by the machine.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question