Skip to main content

Getting meanings in a GUI dailog box

Project description

Video Demo:

Description:

Introduction

This is my final project in CS50x Harvard. This program can work in Debian Linux based computers (but it can work on Mac OS also, although I’ve not checked). This project is a program that finds meanings of words. This version of the program uses internet and it will run with a keyboard shortcut. If you want to find a meaning of a word then follow the following steps:

  1. Connect to the internet.

  2. Select the word you want to find the meaning of.

  3. Press the keyboard shortcut you had set (Go to ‘Setting up your PyMeanings’)

Setting up your PyMeanings

Installing dependencies

  1. xsel: Check that xsel is installed in your system by typing xsel --version in your terminal. If it is not installed then install it by typing sudo apt install xsel in your terminal.

xsel is a program that retrieve and set the X selection as it is given in the manual page accessed by typing man xsel. It is the program responsible for capturing the selected text by the user.

Installing pymeanings

This program works on Python version = 3.7+. Install the package by typing in your terminal pip install pymeanings

The keyboard shortcut can be anything you want. In your terminal run which pymeaning. Assign your keyboard shortcut to the location given the bash script you had run. Following are some links which can tell you how to make keyboard shortcuts in different Linux-based OS:

  1. For Xubuntu

  2. For Ubuntu

  3. For Linux Mint

  4. For Mac OS X

Different outputs

If the output gives you an “Error” window. Then it must be a loss of steps you made. Following are the list of errors:

  1. Message: “Please select word for finding meaning”. Then it means you forgot to select the word.

  2. Message: “Can’t find meaning of ‘{your word}’. Check your internet connection or the word you selected might not mean anything!!”. Then it means you are disconnected from the internet or the word you selected does not make sense.

If the output is something else other than the errors and shows a bulb symbol, then it means you followed the steps properly.

Best of Luck with PyMeanings

Adhrit Pramanik

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pymeanings-0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pymeanings-0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pymeanings-0.1.tar.gz.

File metadata

  • Download URL: pymeanings-0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.1

File hashes

Hashes for pymeanings-0.1.tar.gz
Algorithm Hash digest
SHA256 54221e9ba8d9c6929e552dca8c99edbbbf39cc2a0fb50eea2f9373597c1800ab
MD5 a09d1578e89291ac99d923815df9c6d4
BLAKE2b-256 d0ba3b71e65a580b4fbf239d900d8160169a1042b5bcc5ab505d81fd88e58a3e

See more details on using hashes here.

File details

Details for the file pymeanings-0.1-py3-none-any.whl.

File metadata

  • Download URL: pymeanings-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.7.1

File hashes

Hashes for pymeanings-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b4d1ee3e7296b36820f533bd46a3ff4a6004c73b0f1d399072c102eb9770d97
MD5 230d2238c3e52ca8379ac00326d2c90d
BLAKE2b-256 3d938f92a16aa47daf88518d580809533d3d9f222ca88279921ed6931027c6ed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page