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.

Source Distribution

scratchpad-deadmund-1.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

scratchpad_deadmund-1.1.0-py3-none-any.whl (16.4 kB view hashes)

Uploaded Python 3

Supported by

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