- #!/usr/bin/env python3
- # -*- coding: utf-8 -*-
- from subprocess import call
- import configparser
- config = configparser.RawConfigParser()
- config.read("config.conf")
- player = config['player']['player']
- entrada = input("Introduce una radio: ")
- call ([player, (config['url'][entrada])])
|