Thursday, 18 May 2017

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.

Python 2017-05-14

I have been learning and practicing my python for a few weeks now and I find it it quite an enjoyable activity.  It has taken up the time that I would usually spend on Empire Total War. 

As someone who knows perl very well, I have picked it up very quickly, especially the objected oriented parts of the python.  I have even got a grasp of the multithreaded capabilities of the language, which is easier to use than perl's offering.

My only gripe with python and I think alot of users would concur is the use of tabbing and spacing.  Python does not use curly braces '{}' to block subroutines, ifs and loops.  Instead it uses a set number of spaces.  Failure to do this properly results in interpretter errors.  This can be annoying when copying and paste code examples.

Monday, 17 April 2017

Python

I have decided to take use my spare time to learning the wonderful object oriented language of python.  It has been on my to do list for a long while and yesterday, I downloaded the language, tools and interpreter. It will be a welcome alternative to PERL and I hope to use it in my work.

Sunday, 26 March 2017

Empire Total War - 2017-03-26

I am at the point of conquering all of the Indian subcontinent but in Europe Hungary has declared war on me.  So I have to divert troops to deal with them from my war with Poland/Lithuania and Russia.