Steam game picker 08-30-2015, 06:45 AM
#1
Whenever I get really bored, I end up just staring at my Steam library not knowing what the hell to do. I fixed that problem with this little program.
What it does is go through your local Steam files for your installed games and chooses 3 at random.
Source:
Only bug: I occasionally get an IndexError, not totally sure why.
Anyway, enjoy your steam games
What it does is go through your local Steam files for your installed games and chooses 3 at random.
Source:
Code:
from random import randint as r
from os import walk as f
games = next(f('C:\Program Files (x86)\Steam\steamapps\common'))[1]
disp = [games[r(0,len(games))]]
def find_game():
for i in range(0,3):
c = games[r(0,len(games))]
disp.append(c)
games.pop(games.index(c))
print "\t" + str(i+1) + ".",c.replace("_", " ")
print "Selected games: "
find_game()Only bug: I occasionally get an IndexError, not totally sure why.
Anyway, enjoy your steam games
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.
don't have much in the first place, who feel the new currents and ride them the farthest.

















![[+]](https://sinister.li/images/modern/collapse_collapsed.png)












So ![[Image: CDUAq9d.png]](http://i.imgur.com/CDUAq9d.png)