{"id":148,"date":"2015-11-17T20:58:59","date_gmt":"2015-11-17T19:58:59","guid":{"rendered":"http:\/\/ejvindh.net\/?p=148"},"modified":"2025-09-07T08:23:49","modified_gmt":"2025-09-07T06:23:49","slug":"dagbogkalender","status":"publish","type":"post","link":"https:\/\/ejvindh.net\/en\/dagbogkalender\/","title":{"rendered":"Diary\/Calendar"},"content":{"rendered":"<p>I&#8217;ve for some time been working on a project in which I try to fuse a calendar with a diary. In other calendar systems I don&#8217;t like the fact that you risk loosing your &#8220;past&#8221; when you switch to a new system.<\/p>\n<p>This is the reason I made a different programs to handle different platforms, so that you can have a calendar on multiple devices that synchronize through a Dropbox account, and at the same time you have the databases locally on your devices &#8212; in a form that is easily readable for the human eye.<\/p>\n<p>If you then at some point decide to switch to another system you will still have your past available in ordinary text-files &#8212; accessible on future devices too.<\/p>\n<p>At first it was created in Python, but in my own cross-over to Android I also (first) created a <a href=\"https:\/\/github.com\/ejvindh\/TodoDiary\" target=\"_blank\" rel=\"noopener\">Java<\/a>-version (extended edition) before finally doing the\u00a0<a href=\"https:\/\/github.com\/ejvindh\/DBTodo\" target=\"_blank\" rel=\"noopener\">Android<\/a>\u00a0version too.<\/p>\n<h3>The original Python-edition<\/h3>\n<p>The Python-edition has been updated to run in Python3 (the old version was made in Python2). Furthermore I&#8217;ve replaced Wxpython with PyQt6. Wxpython seems to have lost its breath in development. Actually I liked the aesthetics of Wxpython better, however PyQt is not so bad. The script can be found here:<\/p>\n<p>Script: <a href=\"https:\/\/uploads.ejvindh.net\/Calendar\/caltxt10.py\">Link<\/a><br \/>\nIcon: <a href=\"http:\/\/uploads.ejvindh.net:\/Calendar\/memoires2_128x128.png\">Link<\/a><\/p>\n<p>I&#8217;ve also made an exe-file with pyinstaller, which can be used on Windows-systems, if one doesn&#8217;t want to tingle with python and pyqt6. It can be downloaded here:<\/p>\n<p>Windows-exe: <a href=\"http:\/\/uploads.ejvindh.net\/Calendar\/caltxt10.exe\">Link<\/a> (<a href=\"http:\/\/uploads.ejvindh.net\/Calendar\/caltxt10.zip\">as zip-file<\/a>)<br \/>\nNotice: Some browsers resist downloading exe- and zip-files. If this is the case, and if you trust me, you can rightclick the links, and insist that you really mean it.<\/p>\n<p>It is also possible to create simlar executables for Linux and MacOs, but I have som trouble with my MacOS being outdated (and thus Pyqt7 will not install). And in Linux I have an issue, I cannot quite explain &#8212; and besides I don&#8217;t actually need the executable for myself. However, if someone creates an executable for these systems, I&#8217;ll be happy to distribute it here as well.<\/p>\n<h3>Python-udgaven (the original &#8212; primarily historic)<\/h3>\n<p>The\u00a0<a href=\"https:\/\/github.com\/ejvindh\/TodoDiary\" target=\"_blank\" rel=\"noopener\">Java<\/a>\u00a0and\u00a0<a href=\"https:\/\/github.com\/ejvindh\/DBTodo\" target=\"_blank\" rel=\"noopener\">Android<\/a>\u00a0projects are available at Github with each its own description &#8212; so only a couple of words on the Python-edition here.<\/p>\n<p>It&#8217;s written in Python2\u00a0and uses\u00a0Wxpython as its user interface. The Python-script should be crossplatform (Windows, Linux, Mac), but I have only tested on Windows\/Linux. To run the script you will on Windows have to download both Python and WXpython. On Linux\/Mac you only need Wxpython, because Python is installed as default:<\/p>\n<p>Python2: <a href=\"http:\/\/python.org\/download\/\" target=\"_blank\" rel=\"noopener\">LINK<\/a><br \/>\nWxpython: <a href=\"http:\/\/wxpython.org\/download.php\" target=\"_blank\" rel=\"noopener\">LINK<\/a><\/p>\n<p>This being set, you can download thes two files:<\/p>\n<p>Script: <a href=\"http:\/\/uploads.ejvindh.net\/Calendar\/caltxt8.py\" target=\"_blank\" rel=\"noopener\">LINK<\/a><br \/>\nIcon: <a href=\"http:\/\/uploads.ejvindh.net\/Calendar\/memoires2_128x128.png\" target=\"_blank\" rel=\"noopener\">LINK<\/a><\/p>\n<p>The program is run by saving the files in a common folder, and then write the following in a prompt or a shortcut\/starter:<\/p>\n<p style=\"padding-left: 30px;\">[path-to-python-interpreter]python [path-to-downloaded-files]caltxt8.py<br \/>\n<em>(eg: &#8220;c:\\Programs\\Python\\python.exe c:\\Documents and Settings\\me\\Desktop\\Calendar\\caltxt8.py)<\/em><\/p>\n<p>For Windows-users I&#8217;ve also packaged a standalone file if you want to avoid all the trouble about installing python environments:\u00a0<a href=\"http:\/\/uploads.ejvindh.net\/Calendar\/caltxt8.exe\" target=\"_blank\" rel=\"noopener\">LINK<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve for some time been working on a project in which I try to fuse a calendar with a diary. In other calendar systems I don&#8217;t like the fact that you risk<a class=\"moretag\" href=\"https:\/\/ejvindh.net\/en\/dagbogkalender\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,8,10,5,11],"tags":[],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","category-android","category-computerit","category-java","category-programmering","category-python"],"translation":{"provider":"WPGlobus","version":"3.0.2","language":"en","enabled_languages":["dk","en"],"languages":{"dk":{"title":true,"content":true,"excerpt":false},"en":{"title":true,"content":true,"excerpt":false}}},"_links":{"self":[{"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":11,"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":467,"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/posts\/148\/revisions\/467"}],"wp:attachment":[{"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ejvindh.net\/en\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}