O'Reilly logo

Tkinter GUI Programming by Example by David Love

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cross-platform using Pip

Our application is already set up to be distributed with pip. You can test this out yourself by opening a terminal window inside the root folder for your text editor and using the following commands:

$ python3 -m venv build-env$ source build-env/bin/activate$ pip install .

Provided that you are in the same directory as your setup.py file, pip should be able to parse this and install your text editor to your new virtual environment. You should now be able to run the tkedit command and be shown your text editor application!

If you wish to install the module globally, skip the creation of the virtual environment and just run sudo pip install .. This should install your text editor on your system so that it can be run ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required