Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Python code get current directory and change directory path в хорошем качестве

Python code get current directory and change directory path 1 год назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Python code get current directory and change directory path

import os.path #Current Working Directory Path print('Current Working Directory Path : ', os.getcwd()) #Application File Name Directory Path print('Application File Name Directory Path : ', __file__) #Application Name print('Application File Name : ', os.path.basename(__file__)) #Current Working Directory Path print('Current Working Directory Path : ', os.path.dirname(__file__)) #Application File Directory Path print('Application File Directory Path : ', os.path.abspath(__file__)) #Current Working Directory Path print('Current Working Directory Path : ', os.path.dirname(os.path.abspath(__file__))) #change directory Path os.chdir(os.path.dirname(os.path.abspath(__file__))) print('Current Working Directory Path : ', os.getcwd()) input()

Comments