These packages contain Moodle plus all the other software needed to make it run on a Mac: Apache, MySQL and PHP. They are built using MAMP. See the documentation Installation Package for OS X for details. Mar 30, 2018 Inspired by EasyGUI, designed for PyQt. EasyGUIQt is a module for simple and easy GUI programming in Python. EasyGUIQt was inspired by EasyGUI created by Stephen Ferg and is based on Tkinter.

Hello all, I just bought a book on Python, and started to go through it (bought it for my children and myself). I'm having a problem importing 'easygui'. I am new to programming. I am trying to program on my Mac.

I downloaded easygui to the following:/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/

When I go in Finder, I see a easygui83 file, that has the easygui in it.

When I type: import easygui in IDLE I get the following messages:

The Foundry MODO 13.1v1 for Mac ReviewA powerful application for creating different sculptures, animations, and 3D objects, The Foundry MODO 13.1v1 comes with a professional set of tools and a variety of customizations and settings to render complex 3D objects with great ease. Produce high-quality designs and for professional purposes and generate interactive textures.With a rich set of tools, the 3D modelers and the experts can work in collaboration with various other applications including Illustrator, Autodesk, COLLADA, Alembic, LightWave, Illustration, VideoScape, SolidWorks, Wavefront and various other applications. The Foundry MODO 13.1v1 is a professional application for creating eye-catching sculptures and 3D objects with a variety of effects. Work with various objects for importing and exporting as well as provides support for generating meshes and using UV tools for editing vertex maps and morph objects. https://tubegol.netlify.app/modo-free-download-for-mac.html. It provides the ability to work with numerous powerful tools and create any kind of 3D models with great ease.

Traceback (most recent call last):
File '<pyshell#0>', line 1, in <module>
import easygui
ImportError: No module named easygui

What am I doing wrong? Is the easygui file in the wrong place?

  • 4 Contributors
  • forum10 Replies
  • 2,004 Views
  • 7 Months Discussion Span
  • commentLatest PostLatest Postby sofiH

Recommended Answers

According to easygui's doc, you need a file easygui.py in your site-packages directory.
Note also that the doc says that using easygui with idle may lead to unpredictable results because idle is already a tkinter application.

Jump to Post

you should move easygui.py to site-packages. Is it the only file in the folder ?

Jump to Post

IDLE have been reported to be troublesome, especially in GUI apps
Just check for modified version that can be downloaded at '>www.vpython.org

Jump to Post

All 10 Replies

Gribouillis1,391Programming Explorer Team Colleague

According to easygui's doc, you need a file easygui.py in your site-packages directory.
Note also that the doc says that using easygui with idle may lead to unpredictable results because idle is already a tkinter application.

Latest version

Released:

'Inspired by EasyGUI, designed for PyQt'

Project description

Inspired by EasyGUI, designed for PyQt

For

EasyGUI_Qt is a module for simple and easy GUI programming in Python.

EasyGUI_Qt was inspired by EasyGUI created by Stephen Ferg andis based on Tkinter. By contrast, EasyGUI_Qt is based on PyQtwhich is not included in the standard Python distribution - but isincluded in some other distributions like Continuum Analytics’ Anaconda.

  • Free software: BSD license
  • Documentation: https://easygui_qt.readthedocs.org.

Python version

Officially, this is a project that targets only Python 3. However, I havenow decided to attempt to provide some support for Python 2. Other thansome unicode issues, all widgets should work with Python 2.

Design philosophy

Like the original EasyGUI, EasyGUI_Qt seeks to provide simple GUI widgetsthat can be called in a procedural program. EasyGUI_Qt is NOT event-driven: all GUI interactions are invokedby simple function calls.

The archetype is get_string(message)which pops a box whose purpose is exactly the same as Python’s input(prompt),that is, present the user with a question/prompt, have the user enter ananswer, and return the provided answer as a string. Thuseasygui_qt.get_string() can be used as a drop-in replacement forinput().Similarly, instead of using a print() function to display a message,show_message() is used which pops a message window; however, note thatunlike print, show_message interrupts the flow of the programand require some interaction from the user for the program tocontinue.

Unlike the original EasyGUI, which sometimes used cryptic names likemsgbox or ynbox, EasyGUI_Qt attempts to use descriptive nameswhich follow PEP8 convention. Where is mac os download. Thus, instead of msgbox, it usesshow_message; instead of ynbox, it has get_yes_or_no.Most function names start with either get_, show_ or set_.

EasyGUI_QT is based on PyQt; it leverages the available dialogs thatcome with PyQt whenever possible. This makes it possible to haveautomatic translation of some GUI elements (such as text on standard buttons)provided the locale is set correctly and that the local distribution ofPyQt includes the appropriate translation: when EasyGUI_Qt runs, it scansthe standard PyQt location for translation files and note which ones arepresent and can be used when the locale is set.

An attempt is made at avoiding duplication of essentiallyidentical functionality. Thus, multiple selections from a list of choicesis done only one way: by using a dialog where choices appear as labelsin text and not labels on buttons.

Roadmap

See https://github.com/aroberge/easygui_qt/issues/13 and feel freeto add comments.

Similar projects

The following is an incomplete lists of a few cross-platform projectsthat share some similarity with EasyGUI_Qt, but use back-ends other than PyQt

  • easygui: the original; tkinter back-end
  • anygui: multiple back-ends; well knownbut no longer supported
  • psidialogs: multiple back-ends supported -possibly the most complete project from that point of view.
  • python-dialog: dialog/Xdialog/gdialog back-end

There are quite a few lesser known projects but none that seem to beactively supported. If you are aware of other projects that shouldbe mentioned, do not hesitate to contact me and let me know.

0.9.3

  • Updated in an attempt to work with both PyQt5 and PyQt4 (Thanks to D. Schellenberg for help).

0.9.2

(Some of the changes noted are addition or improvements submitted by David Hughes via email)

  • TextWindow now shows input either from a file or from a supplied string.
  • added show_code()
  • added show_text()
  • renamed show() to show_message() [reverting change from 0.9.1]
  • started creation of custom “page format” for more complex dialogs
  • changed get_date() so that it returns a datetime date instance

Note: the documentation has NOT been updated to reflect these changes.

0.9.1

  • removed verification from get_new_password
  • added find_help
  • created “back end” for wizard creator - will become show_story()
  • documented and changed naming convention
  • renamed select_language() : get_language()
  • renamed show_message() : show()
  • fixed a unicode bug for Python 2
  • changed the way show_file works
  • removed required_install PyQt4 from setup.py

0.9.0a

  • Simplified the way change_password was implemented by reusing one ofthe new modules and fixed an unreported bug in the process
  • changed the formatting of this file so that it should not cause problemswith PyPI anymore.

0.9.0

Major change in version number as almost all the desired widgets forversion 1.0 have been implemented.

Release notes:

Some unicode problems are likely present when using Python 2.7; the primarytarget is Python 3.3+ … but we try to support earlier version as well.

Some problems are present with Mac OSX and Python 2.7 (only?)

  • added show_abort
  • added get_many_strings
  • added handle_exception
  • added show_code
  • added show_file
  • added get_new_password
  • adressed an issue where some dialogs would appear below some windows(e.g. terminal) when launched from some platforms (e.g. Mac OSX):the goal should be that the dialogs always appear on top of other windows.
  • removed with_app decorator; this decorator had been introduced to reducethe amount of repetitive code appearing in each function (and initiallyinspected the function signature to add automatically some additionalkeyword args) but it likely made it impossible to do unit testing withQTest (still not done) and prevented ReadTheDocs from reading the correctsignatures for the decorated functions.
  • tooltips added to demos launcher
  • added get_username_password

Music Download For Mac

0.4.0

  • added get_password
  • added get_date
  • added get_color_hex
  • added get_color_rgb
  • added get_continue_or_cancel
  • added roadmap as a github issue https://github.com/aroberge/easygui_qt/issues/13
  • removed CONFIG as a global dict; using the configuration file instead.
  • remove set_default_font
  • rename set_locale to set_language
  • added configuration file to save locale and font size

Python Easygui Tutorial

0.3.0

  • Decided to support (with lower priority) Python 2 (2.7.9 more specifically)
  • Should work reasonably well with Python 2.7.9 - other than potentialunicode related issues
  • made get_list_of_choices(), get_choice(), get_string(), and get_directory_name()work properly with Python 2.7.9

0.2.3a

  • changed extension of some demos (from .pyw to .py) as they were not uploaded to pypi

0.2.3

  • added demos dir to setup.py so that it can be included on pypi

0.2.2a

  • changing path on image in readme in attempt to help pypi display properly

0.2.2

Easygui.py
  • changed the syntax for calls to super() to be compatible with Python 2.Note that the intention is to be a Python 3 project, but if simple changescan make it compatible with Python 2, they will be incorporated.
  • changed name of set_save_file_name to get_save_file_name
  • changed name of yes_no_question to get_yes_or_no
  • added get_list_of_choices
  • added demo launcher

0.2.1

  • Moved the demos directory to a more sensible location
  • added get_directory_name
  • added get_file_names
  • added set_save_file_name
  • attempt to fix bug for Python 3.2 where inspect.signature was not defined

0.2.0

The API has been changed since the initial releaseand the following widgets have been documented, with images insertedin the documentation.

  • get_choice
  • get_float
  • get_int
  • get_integer
  • get_string
  • set_font_size
  • set_default_font
  • select_language
  • set_locale
  • show_message
  • yes_no_question

Project details


Release historyRelease notifications | RSS feed

0.9.3

0.9.2

0.9.1

0.9.0

0.9.0a pre-release

0.4.0

0.3.0

0.2.3

0.2.3b pre-release

0.2.3a pre-release

0.2.2

0.2.2a pre-release

0.2.1

0.2.0

Games Download For Mac

0.1.0

Easygui.py Download For Mac Windows 7

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for easygui_qt, version 0.9.3
Filename, sizeFile typePython versionUpload dateHashes
Filename, size easygui_qt-0.9.3-py2.py3-none-any.whl (30.0 kB) File type Wheel Python version py2.py3 Upload dateHashes
Filename, size easygui_qt-0.9.3.tar.gz (34.1 kB) File type Source Python version None Upload dateHashes
Close

Hashes for easygui_qt-0.9.3-py2.py3-none-any.whl

Hashes for easygui_qt-0.9.3-py2.py3-none-any.whl
AlgorithmHash digest
SHA25670b4e13170c4b0b207bfa2570ba243d29391dc7a7044b59e49636d5869e3f92a
MD5f43bc0bb0433e168aa3a0fafeff180d5
BLAKE2-256de425c7d4e21d04629bd27f2d60aada0d92e424da2882a2d7d126a1e2958d470
Close

Hashes for easygui_qt-0.9.3.tar.gz

Hashes for easygui_qt-0.9.3.tar.gz
AlgorithmHash digest
SHA256690bb832578ce013ccb3e7b0df9d91e87432353a2d8bb3a9bc559492e2c1395b
MD5245a7e0c58adf63f5e07cb107cb305d0
BLAKE2-256efc91d303061c78c8159cfdd4e12614b6f48558ebcbe63090aa259b33999dfff