Small Python Project

So after doing the beginner “Hello World” program in Python, I though I should up my game a bit. Today I was travelling down to some meetings so I figured this out on the train. Biggest issue I’m having with Python at the moment is keeping it all lower case. So I dusted off some old stuff I wrote in a previous life. I’m probably going to keep working on this to make it neater and more polished, but as a first project in Python I think it’s a good start.

import random
str_simple="ab*c@def!gh2ij3kl4m#n5op$6qr7st8u%v9w^x&y(z)"
str_complex="abc8defGHIJghijkl3mnoLMNpqr2st^&)uvwxyz9ABCDE4F7KO6PQRS*(TUVWXYZ!@#5$%_+-="
str_insane="abcd_+e-=fghi2jklmQR9Sn5opMNqrs3tuvIJw4x*(;yzABCD),>EFGH7K@#$%^L8OPTUVW./?XYZ!&'[]}{\|~`:"
complexity = input("How complex do you want your password to be 1 - 3? ")
if complexity == "1":
seed = str_simple
elif complexity == "2":
seed = str_complex
else:
seed = str_insane
slen = len(seed)
def makePassword ():
i = 1
plen = 15
strpass = ""
while i < 15:
#rannum = int((random.random()*slen)+1)
strpass = strpass + seed[int((random.random()*slen)+1)]
i += 1
return strpass
print(makePassword())

The big two face off

The big two face off

So Tableau vs Power BI or Power BI vs Tableau, even the ordering seems to get some people fired up. In the last two years I’ve been in the middle of this debate and have picked a definite side, however I have actually done an in-depth review of both products (against my requirements). So if you will let me I’ll try to provide my views on this and hopefully they won’t come across too one-sided.

Read more

Another long gap

Another long gap

Well it feels like it’s been about six months since my last post and that’s probably because it has been. I’ve been a little tied up in the world of Service Improvement, Visualisation and Big Data. Over the next year I have a lot of new tasks to complete in my day job and will use this blog to talk about them and to show my learnings and hopefully give you all some insights into what I am doing to use big data to empower deeper analysis and so drive higher quality improvements. Remember I exist in a world where pretty pictures are just that, what I have to do is to show how we can leverage our data to extrapolate a future and then change process and demonstrate validity.

Read more