Giter Club home page Giter Club logo

python-journal's Introduction

Python journal

A console program that I use to keep track of what I do during the day. The main advantage this has over notepad is the automatic time-stamping of each line, so I know how much time elapsed between each thought.

Another advantage over notepad is the ability to view several entries at once, one after another. This allows you to see patterns you otherwise wouldn't have been able to see.

How to use

Run python journaling.py to start the program, and follow the instructions to create a journal.

Typing anything into the journal should start a new block of text, which we can call a 'task'. Typing more will add a note to the current task.

Typing a dash (-) before anything will start a new task.

Typing a tilde/squiggle (~) will toggle the last line between a note and a task. It is useful for when you forget the -.

If you want to view the past 6 entries, then type /show_last 6. This command will show the last 6 entries all together in the console. The command /show_last 6 2 will show the last 6 to 12 entries (6 is the number of previous entries to show, and 2 is the page number). This is the only cool command imo, but there are others you can find out about with /help.

How to make a windows shortcut for this program

Paste the following line into the target section of a windows shortcut, then set the "Start in" property to blank. And of course, don't forget to replace Path\To\Script\Folder with the directory you will be storing this program in.

C:\Windows\System32\cmd.exe /C "python ^"Path\To\Script\Folder\journaling.py^""

If you have a python in your PATH (if you can call python from any directory in the command prompt, then you do), this shortcut will work.

Bugs/known issues

  • /view doesn't work if today's journal is blank. I would just restart the program. I probably would never use view either, you would be better off using /show_last

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.