便利だと思いませんか? Pythonで扱えるのは、「黒い画面」(コンソール)だけじゃないんです。 実はマウスでクリックできるアプリ画面もPythonだけで作れます。 しかも追加インストール不要。標準で入っている「tkinter」を使えばOKです。
PDFを結合したり分離させたりするアプリ「CubePDF」みたいなものが 自作できそうだと思ったので、Tkinterというものを学習してみました。 そこで今回はTkinter入門ということで、 よく使用する基本的なものについて、さらっと書いていこうと思います。
We’ll be working with the versatile ttk.Button widget to make buttons that display text, and images, or even do cool stuff like opening websites.
The Student Report Card App 📚 is a Tkinter GUI for entering student names & marks (0–100) in 5 subjects. It calculates totals, percentages, & grades 🏆, shows animated report cards 🎥, and saves them ...
PythonでGUIを持つデスクトップアプリを開発するには、TkinterやPyQtなど、いくつかの選択肢がある。しかし、いずれも本格的なGUIを作るのには向いているが、ちょっとしたツールを素早く作りたい場合に、学習コストの問題や開発が煩雑という問題があった。
Python has established a prominent place in the realm of the world’s most widely used programming languages, aptly so. This popularity stems from Python’s versatility, ease of understanding, and its ...
ところで、『デスクトップアプリ』とは何だろうか。WindowsやmacOSなどパソコン上で動作するアプリのことだ。昨今、アプリと言えば、スマートフォンを対象にしたアプリを指すことが増えた。そこで、スマホアプリに対して、パソコンで動作するアプリを ...
In any Tkinter program, the first thing you need is a window. This window will act as a container for your app. This line brings the Tkinter library into your program. We give it the nickname tk so we ...
GUI design can be a tedious job, requiring the use of specialist design tools and finding a suitable library that fits your use case. If you’re looking for a lightweight solution, though, you might ...