Honney I’m Home

July 6th, 2007 § 0

Came back from my holiday today :>. Pretty good, I would upload photo’s but I have too many and their to large. I bought a Western Digital 320gb External Hard Drive, which is pretty sweet, and I’m about to catch up with some mates tonight for a LAN. It’s good to see that my server, modem, ISP, UPS, Power, or any cables didn’t pop it while I was gone. I made some pretty useless python scripts while I board in the car too. Here’s the output of one.

‘ ‘ ‘ ‘ ‘
”””””
.’.’.’.’.’
……….
.-.-.-.-.-
———-
-/-/-/-/-/
//////////
/////
\\\\\
]]]]]
]]]]]]]]]]
[][][][][]
[[[[[[[[[[
}[}[}[}[}[
}}}}}}}}}}
}{}{}{}{}{
{{{{{{{{{{
And the code

lol = [” “,”‘”, “.”, “-”,”/”,”\\”,”]”,”[”,”}”,”{”]
line =”
width = int(raw_input(”Size?”))
import random
for a in range(1, len(lol)):
for z in range(1,width/3):
for x in range(1,width + 1):
if x in range(0, width + 1, z):
line = line + lol[a-1]
else:
line = line + lol[a]
u = random.randint(0,len(line))

print line[u:]+line[:u]
line = ”
print lol[-1]*width

Where am I?

You are currently viewing the archives for July, 2007 at Michael Wheeler.