BIG
대화창을 이용하여 선택한 디렉토리 경로 가져오기
import tkinter as tk
from tkinter import filedialog
root = tk.Tk()
root.withdraw()
dir_path = filedialog.askdirectory()
print("선택된 디렉토리 경로:" + dir_path)
LIST
'!!...Python > !!...PythonStudy' 카테고리의 다른 글
[python]Sample Code: Count() - SampleCode-2023.08.08 (0) | 2023.08.08 |
---|---|
[python]Sample Code: Find Password Study Code_ver20220929 (0) | 2022.09.29 |
[python]SampleCode: read text file line by line use while (0) | 2022.09.28 |
[python]SampleCode: text file read (0) | 2022.09.24 |
[python]SampleCode:get string length in python (0) | 2022.09.24 |