Skip to main content

Notepad with basic math functions

Project description

scratchpad

Basic notepad app with some built in calculator functions written in python using Tkinter.

Scratchpad can be used for notetaking and will automatically perform in-line math while you type. For those interested, it basically finds any mathematical looking questions and throws them into python.

Alt

Supported Operations

  •    +     (addition)
  •    -      (subtract)
  •    /      (divide)
  •    *      (multiply)
  •    **      (exponent)
  •    ()      (order of operations enforced by parenthesis)
  •    ==      (comparison, as in 6 == 2 * 3 => true)

How to install / run

Using this github repo / source code

Just download (clone or otherwise) everything here and run

python3 scratchpad.py

-or-

./scratchpad.py

Using PyPi package repo

pip3 install scratchpad-deadmund

python3 -m scratchpad

Generate a .deb and install that

(still waiting to get package listed in Ubuntu)

cd scratchpad/debian-packaging/

debuild --no-tgz-check

cd ../

sudo dpkg -i scratchpad_1.1.0_all.deb

then to run

scratchpad

Generate a pypi package and install that

cd scratchpad/pypi-packaging

python3 setup.py sdist bdist_wheel

pip3 install dist/*

then to run

python3 -m scratchpad

[//]: # The tool chain you need is pip3 install twine, setuptools, wheel, mkpkg [//]: # To check for mistakes in package use: python3 -m twine check dist/* [//]: # To install it locally (without pypi): pip3 install dist/* [//]: # To upload it: python3 -m twine upload dist/* [//]: # This might prove useful: python3 -m mkpkg --cli scratchpad.py scratchpad

Project details


Download files

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

Files for scratchpad-deadmund, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size scratchpad_deadmund-1.1.0-py3-none-any.whl (16.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size scratchpad-deadmund-1.1.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page