今回はプログラミング言語Pythonを使って、次のURLのようなColorゲームを作ります。こちらからアセットをダウンロードしておいてください。Pythonの文法については、「Kritaで楽しく学ぶ Pythonプログラミング」の第2回を参考にしてください。 Pythonはシンプルで ...
「Tkinter」というGUIライブラリを利用することで、PythonでもデスクトップのGUIアプリを作成できる。 その方法を解説しよう。 最初に、すべての基本となる「1枚のウインドウを表示するだけのアプリ」をPython+Tkinterで作りましょう。
PythonのTkinterでGUIアプリの画面を作っていると、「この入力欄、ちょっと長すぎるな…」「もっとコンパクトに配置したいのに…」と、部品(ウィジェット)のサイズを調整したくなることはありませんか? 特に、一行テキスト入力のEntryウィジェット ...
A repository documenting my journey of learning Tkinter, Python's standard library for building desktop GUI (Graphical User Interface) applications. This repository contains lesson-wise examples, ...
ラズパイはミニPCの一つですが、WindowsなどのOSと趣旨が違いより外部機器とやり取りしやすい構造になっています。例えばカメラモジュールは取り付けてちょっと初期設定をすれば、Python等から比較的簡単に操作できます。 ところで、外部機器とやり取り ...
Create a Python Tkinter application titled "Interactive Logger" with a window size of 300x200. The interface should feature a single Button labeled "Log Action". When the button is left-clicked, it ...
This is a simple worksheet that shows students how they can use object orientation with Tkinter. The idea of this program is that they can build on the knowledge in the 3 previous lessons. Example ...