Skip to content

A simple command line note taking script written in Python.

Notifications You must be signed in to change notification settings

pmagwene/notesdotpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

notesdotpy

A simple command line note taking script written in Python. This is meant to facilitate "brain dumps" rather than organizing, rearranging, etc. However, the resulting file is a plain text file so you can re-organize to your hearts content.

Simply writes strings entered on the command line to a file (as specified in notes.cfg).

  • New notes are appended at the end of the file
  • Notes are formatted as markdown style list items (or equivalently YAML sequence items) so it's easy to import them into your other plain text based workflow.
  • An ISO 8601 timestamp is appended to the end of each note (in square brackets).

This script was derived from a Python script found on the Rosetta Code website.

Installation

  • put notes.py on your PATH and make executable (chmod +x notes.py)
  • Copy notes.cfg to $HOME/.notes.cfg
  • Edit .notes.cfg to set the notedir and notefile parameters to specify the directory and filename of your notes files

Optional:

  • setup an alias in your .bash_profile, e.g. alias note="notes.py"

Usage

  • notes.py -- prints the contents of the notes file
  • notes.py "I wonder how fast an unladen swallow can fly?" -- adds note to note file

About

A simple command line note taking script written in Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages