W
W
Wilfx2018-02-18 14:47:53
linux
Wilfx, 2018-02-18 14:47:53

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

1 answer(s)
N
Nicholas V, 2018-02-18
@Amunrah

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 question

Ask a Question

731 491 924 answers to any question