Sunday, 4 June 2017

Django 2017-06-04

Despite some wonderful free online tutorials on Django(I especially recommend the newBoston Youtube Channel)  I have found the take up of it to be slow going.  I think part of this is my lack of expertise on html and CSS.  This is despite dabbling in php and perl CGI a number of years ago.  Therefore  I have bought an e-book called 'Tango with Django' by Leif Azzopardi.  This book is aimed for beginners and I will let you know how I get on with it later.

Monday, 22 May 2017

Python 2017-05-22

After a few struggles, I have put a GUI on my Python enigma machine using the Tkinter package.  You can now key the message you wish to encrypt or decrypt.  My next task is to create a web GUI using Django.

Thursday, 18 May 2017

Python 2017-05-18 Tkinter

I am using this webpage to learn Tkinter for python. For anyone interested this is a very good introduction to Tkinter for python but be careful the tutorial uses python 2.

Python 2017-05-18 Write a GUI

My python enigma machine has been re-written in object-oriented code and successfully tested.  My next phase of development is to write a graphical user interface(GUI) for it.  I have chosen the built in package Tkinter to do it so I would not have to bother with downloading other packages.  This will take some time as I need to learn how to use Tkinter first.

Wednesday, 17 May 2017

Python 2017-05-17

I have finished coding and testing my python Enigma machine and the results are correct.  Now my next task is to write the same thing but in an object-oriented manner.

Tuesday, 16 May 2017

Python 2017-05-16

I have started my first major programming project in python and it is a python version of the WW2 Wehrmacht Enigma machine.  For the spec I am using the paper version as shown in the video below.

Sunday, 14 May 2017

General election 2017

After Tony Blair won his landslide victory in 1997, I wondered if the Tories will ever get elected again.  Twenty years later I am asking the same question to myself but this time it is whether Labour will get back in.  I think we are seeing the death of the Labour party in front of our very eyes, which is sad because weak oppositions lead to bad governments.