C:\Users\the maker>py
Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
"C:\Users\the maker\Desktop\py_folder\butt.py"
File "<stdin>", line 1
SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated \UXXXXXXXX escape
import tkinter as tk
base = tk.Tk()
button1 = tk.Button(base, text='push1')
button2 = tk.Button(base, text='push2')
button3 = tk.Button(base, text='push3')
button1.place(x=0, y=0)
button2.place(x=50, y=30)
button3.place(x=100, y=60)
テキストエディタに保存した下のコードをコマンドプロンプトにドロップして実行しましたが、Unicode?の問題で動きません
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2017/05/30 10:58