This version of EasyGui requires
- Python 2.x or 3.x
Top ^
- easygui-0.96.zip
- Contains Windows Easygui source code and setup.py
- easygui-docs-0.96.zip
- Contains Windows Easygui source code, plus documentation & HTML tutorial files
- easygui-0.96.tar.gz
- Contains Linux Easygui source code and setup.py
- easygui-docs-0.96.tar.gz
- Contains Linux Easygui source code, plus documentation & HTML tutorial files
Top ^
General installation notes
Note that the easygui.py file should be installed directly into Python's site-packages directory.
It should not be installed in a site-packages/easygui directory. Doing so will cause your "import" statement for easygui to fail.
Optional installation: python_and_logo.gif
When EasyGui is run from the command-line, it displays a menu-driven demo of its features. Some of the demos display a picture. To see the picture: from the archive file extract
python_and_logo.gif
and place it in the directory from which you will be running the EasyGui demo.
Top ^
Installing EasyGui on Windows
Download the .zip file of your choice
Unpack the .zip file into a temporary directory
Open a console window (a "DOS box") and navigate to the temporary directory.
At the command prompt, enter the command:
python setup.py install
Top ^
Installing EasyGui via apt-get
on Debian or Ubuntu
In Debian wheezy and Ubuntu Oneiric (11.10) EasyGui can be installed with:
apt-get install python-easygui
Top ^
Installing EasyGui on Linux or Mac
Download the .tar.gz file of your choice
Unpack the archive file into a temporary directory
Open a console window and navigate to the temporary directory.
At the command prompt, enter the command:
python setup.py installIf you're using some form of Linux (e.g. Ubuntu) you may need to use the sudo command
sudo python setup.py installor something (depending on your version of Python) like this
sudo /usr/bin/python2.6 setup.py install
Top ^
Customizing EasyGui's fonts
EasyGui font specs — including font size — are hard-coded. (This unfortunate situation will be improved in some future version.)
The hard-coded font specs are generally reasonable, but the actual appearance of text on the screen is dependent on a number of variables (including your screen resolution) and so may produce screen text that is smaller or larger than you prefer. This means that the EasyGui feature that you are most likely to want to modify are the font-size specs. Here's how to do it.
Near the top of the code for
easygui.py
you will find lines that look something like this.PROPORTIONAL_FONT_FAMILY = ("MS", "Sans", "Serif") MONOSPACE_FONT_FAMILY = ("Courier") PROPORTIONAL_FONT_SIZE = 10 MONOSPACE_FONT_SIZE = 9 # a little smaller, because it is more legible at a smaller size TEXT_ENTRY_FONT_SIZE = 12 # a little larger makes it easier to seeYou can edit
easygui.py
to change these settings to values that work best on your computer.
Top ^
Installing EasyGui HTML Documentation
Download the archive file and extract it to a directory of your choce.
In that directory
index.html
is the entry point for the HTML documentation.
Top ^
How to use EasyGui
In application programs that use EasyGui, code:For more information, see the tutorial.import easygui as eg
Top ^