Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
blob: 76a5d268092c394d0ad735437d56b1062fca1fbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python

from ConfigParser import SafeConfigParser
from subprocess import Popen

def say(text):
   Popen(['espeak', '-v', 'es', text])
    
def main():
    parser=SafeConfigParser()
    parser.read('config.ini')
    words= parser.get('jugar','patron')
    say (words)
           
    
if __name__== "__main__":
    main()