2007-07-06 20:46:00 by Michael Wheeler in (no comments) permalink
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
____
___ .-~. /_"-._
`-._~-. / /_ "~o\ :Y
\ \ / : \~x. ` ')
] Y / | Y< ~-.__j
/ ! _.--~T : l l< /.-~
/ / ____.--~ . ` l /~\ \<|Y
/ / .-~~" /| . ',-~\ \L|
/ / / .^ \ Y~Y \.^>/l_ "--'
/ Y .-"( . l__ j_j l_/ /~_.-~ .
Y l / \ ) ~~~." / `/"~ / \.__/l_
| \ _.-" ~-{__ l : l._Z~-.___.--~
| ~---~ / ~~"---\_ ' __[>
l . _.^ ___ _>-y~
\ \ . .-~ .-~ ~>--" /
\ ~---" / ./ _.-'
"-.,_____.,_ _.--~\ _.-~
~~ ( _} -Row
`. ~(
) \
/,`--'~\--'~\