Как может я пользовательский отступ файл с энергией?

Отсюда: https://github.com/conda-forge/basemap-feedstock/issues/30#issuecomment-423512069

import os
import conda

conda_file_dir = conda.__file__
conda_dir = conda_file_dir.split('lib')[0]
proj_lib = os.path.join(os.path.join(conda_dir, 'share'), 'proj')
os.environ["PROJ_LIB"] = proj_lib

from mpl_toolkits.basemap import Basemap```

5
задан Geo 16 February 2009 в 22:19
поделиться

2 ответа

От справки:

={motion}       Filter {motion} lines through the external program
                given with the 'equalprg' option.  When the 'equalprg'
                option is empty (this is the default), use the
                internal formatting function |C-indenting|.  But when
                'indentexpr' is not empty, it will be used instead
                |indent-expression|.

Это похоже на установку equalprg опция - то, что Вы хотите.

7
ответ дан 13 December 2019 в 22:17
поделиться

Можно установить equalprg- опция. (см.: он = для больше).

3
ответ дан 13 December 2019 в 22:17
поделиться
Другие вопросы по тегам:

Похожие вопросы: