@sgmrt · Post #1757 · 04.07.2023 г., 23:24
[EWL] UPDATE: Train svc btwn #TuasLink and #TuasWestRoad has resumed. Free regular bus and bridging bus services have ceased. - SMRT
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #200 · 11 јан.
Вопросы про переменную PYTHONPATH 🔸 Как она определяет пути поиска модулей при импорте? Пути поиска модулей находятся в списке sys.path. Как формируется этот список? Исходя из документации мы может выделить 3 основных этапа. ▫️Путь к запускаемому скрипту или рабочая директория ▫️ Переменная PYTHONPATH ▫️ Стандартные пути к библиотекам Это значит, что все три этапа выполняются в момент инициализации интерпретатора. Результат заполняет список sys.path. В том числе и пути, указанные в переменной PYTHONPATH. 🔸 Можно ли добавлять новые пути в эту переменную в Python-коде? Можно, но учитывая, что используется она только во время старта интерпретатора, никакого эффекта это иметь не будет. Для изменения путей поиска модулей в коде нужно изменять непосредственно список sys.path. 🔸 Можно ли указать много путей для поиска? Да, с помощью переменной PYTHONPATH можно указать несколько директорий, разделённых символом разделения пути. Для Linux это символ ":", для Windows это ";". Например: export PYTHONPATH=/mnt/libs:~/mylibs #basic#tricks
Пребарај: #tuaslink
@sgmrt · Post #1757 · 04.07.2023 г., 23:24
[EWL] UPDATE: Train svc btwn #TuasLink and #TuasWestRoad has resumed. Free regular bus and bridging bus services have ceased. - SMRT
Hashtags
@sgmrt · Post #1756 · 04.07.2023 г., 23:13
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. Train service is still available. - SMRT
Hashtags
@sgmrt · Post #1755 · 04.07.2023 г., 22:53
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. Train service is still available. - SMRT
Hashtags
@sgmrt · Post #1754 · 04.07.2023 г., 22:38
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1753 · 04.07.2023 г., 22:14
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus and bridging bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1752 · 04.07.2023 г., 21:58
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1751 · 04.07.2023 г., 21:33
[EWL]: Due to a factory fire near #TuasLink, there is no train svc btwn #TuasLink and #TuasWestRoad. Free regular bus services are available btwn #TuasLink and #TuasWestRoad. - SMRT
Hashtags
@sgmrt · Post #1397 · 24.12.2021 г., 22:39
[EWL] UPDATE: Free regular bus & free bridging bus svcs btwn #TuasLink and #JooKoon have ended. - SMRT
@sgmrt · Post #1395 · 24.12.2021 г., 22:11
[EWL] UPDATE: Free regular bus & free bridging bus svcs btwn #JooKoon and #TuasLink. - SMRT
@sgmrt · Post #1399 · 24.12.2021 г., 22:56
[EWL] CLEARED: Train svcs btwn #TuasLink and #TuasCrescent have resumed. - SMRT
Hashtags
@sgmrt · Post #1398 · 24.12.2021 г., 22:40
[EWL] UPDATE: Train svc is available btwn #TuasLink and #TuasCrescent. - SMRT
Hashtags
@sgmrt · Post #1396 · 24.12.2021 г., 22:11
[EWL]: Due to a signalling fault, pls add 15mins train travel time btwn #TuasLink and #TuasCrescent. - SMRT
Hashtags