Showing posts with label scripting. Show all posts
Showing posts with label scripting. Show all posts

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

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.