Ver Mensaje Individual
  #11 (permalink)  
Antiguo 22/11/2013, 11:28
Avatar de razpeitia
razpeitia
Moderador
 
Fecha de Ingreso: marzo-2005
Ubicación: Monterrey, México
Mensajes: 7.321
Antigüedad: 19 años, 1 mes
Puntos: 1360
Respuesta: Problema Python

Código Python:
Ver original
  1. #!/usr/bin/env python
  2. #-*- coding: utf8 -*-
  3. import os
  4. print "¿Qué te apetece hacer?"
  5. print "1 = Jugar"
  6. print "2 = Internet"
  7. jugar = 1
  8. internet = 2
  9. apetecible = int(raw_input ())
  10. if apetecible == jugar:
  11.     os.system(r'"C:\Program Files (x86)\Skype\Phone\Skype.exe"')

Así