gdmなしでLinux(Fedora)でPythonウィンドウアプリケーションを実行する

gdmなしでLinux(Fedora)でPythonウィンドウアプリケーションを実行する

以下のようにPython(Windowsアプリケーション)を実行する小さなプロジェクトがあります。 gdmを使用していないLinux Fedoraでは、Gdmを無効にする必要があります。どんなアイデアがありますか?どのライブラリをダウンロードする必要がありますか?

# importing tkinter for gui
import tkinter as tk
 
# creating window
window = tk.Tk()
 
# setting attribute
window.attributes('-fullscreen', True)
window.title("Geeks For Geeks")
 
# creating text label to display on window screen
label = tk.Label(window, text="Hello Tkinter!")
label.pack()
 
window.mainloop()

ベストアンサー1

おすすめ記事