This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#Download all sluggy freelance images | |
import urllib | |
while True: | |
mage = int(raw_input('image to download: ')) | |
mage += 1 | |
lett = 'a' | |
imagetype = '.gif' | |
filename = "%s%s.gif" % (mage, lett) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#Download all sluggy freelance images | |
import urllib | |
mage = int(raw_input('image to download: ')) | |
mage += 1 | |
lett = 'a' | |
imagetype = '.gif' | |
filename = "%s%s.gif" % (mage, lett) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Traceback (most recent call last): | |
File "/home/look/workspace/slug_lancer/src/down.py", line 11, in <module> | |
os.system('wget http://www.sluggy.com/images/comics/'+mage+lett+imagetype) | |
TypeError: cannot concatenate 'str' and 'int' objects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
#Download all sluggy freelance images | |
import sys, os | |
while True: | |
#mage = raw_input('image to download: ') | |
mage = 110620 | |
mage += 1 | |
lett = 'a' | |
imagetype = '.gif' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#mage = raw_input('image to download: ') | |
#lett = raw_input('image letter usually a: ') | |
#for mage in range(110621, 970825): | |
# print str(mage)+"a" | |
#imagetype = '.gif' | |
#os.system('wget http://www.sluggy.com/images/comics/'+mage+imagetype) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
a, b = 0, 1 | |
#a, b = b, a + b | |
fibno = raw_input("ready to calculate: ") | |
for i in range(int(fibno)): | |
a, b = b, a + b | |
print b | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
a, b = 0, 1 | |
for i in (int(a, b)): | |
a, b = b, a + b | |
print i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
your wordsdip:dip | |
dip | |
dip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ook@look-T3646:~/workspace/star-chan/src$ ^C | |
look@look-T3646:~/workspace/star-chan/src$ python sysargv.py | |
usage: -r -c | |
look@look-T3646:~/workspace/star-chan/src$ python sysargv.py -c | |
thats the letter c bro | |
look@look-T3646:~/workspace/star-chan/src$ python sysargv.py -r | |
ready | |
look@look-T3646:~/workspace/star-chan/src$ ^C | |
look@look-T3646:~/workspace/star-chan/src$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 0 0 0 0 0 0 | |
0 1 2 3 4 5 6 | |
0 2 4 6 8 10 12 | |
0 3 6 9 12 15 18 | |
0 4 8 12 16 20 24 | |
0 5 10 15 20 25 30 | |
0 6 12 18 24 30 36 | |
0 7 14 21 28 35 42 | |
0 8 16 24 32 40 48 |
NewerOlder