Python: determining where to install python tools

The Python installation comes with some handy tools located under $ YOUR_PYTHON / Tools / Scripts. Is there a platform-independent way to find out where they are located on the system? I want to use ftpmirror.py as part of a shell script.

+3
source share
1 answer

I see you are talking about the source of the Python bundle, which includes a Tools/Scriptsset of useful scripts for working with Python Source. It should be noted that they are not part of the standard Python library, and installers are not required to associate them with their distribution, for example, in Ubuntu, I do not find it in / usr / lib / python 2.6 or any other way.

Tools/Scripts, script, .

+5

Source: https://habr.com/ru/post/1786096/


All Articles