import csv
import tkinter as tk
with open('path.csv') as f:
reader = csv.reader(f)
for row in reader:
print(row[0])
p = row[0]
full = p + '\\' + 'test.csv'
with open(full) as f:
reader = csv.reader(f)
for row in reader:
print(row[0])
root = tk.Tk()
root.withdraw()
# メッセージボックス(はい・いいえ)
ret = tk.messagebox.askyesno('タイトル', 'メッセージ内容')
print(ret)
More than 3 years have passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme