[Olpc-uruguay] Jóvenes Programadores

Flavio Danesse fdanesse en gmail.com
Mar Sep 21 20:24:16 EDT 2010


Me olvidaba de anotar que les expliqué lo del motor de voz, pero nunca les
hablé de pygame así que lo encontraron ellos solos.



El 21 de septiembre de 2010 21:22, Flavio Danesse <fdanesse en gmail.com>escribió:

> Bueno, luego de dos talleres y a 3 semanas desde el 1º y todavía no les he
> explicado funciones.
>
>
>
> #!usr/bin/python
> # -*- coding: UTF-8 -*-
>
> import pygame, sys, os, time
> from pygame.locals import*
>
> os.system("reset")
>
> pygame.mixer.init()
>
> e = 1
> i = 1
> a = 1
>
> print "<<<<<<< AguPlayer >>>>>>"
> print "<<<< Agustin Zubiaga >>>>"
> print
>
> while e:
>     cancion = raw_input("Escribe la direccion de la cancion (s para salir):
> ")
>     z = 1
>
>     if cancion == "s":
>         i = 0
>         e = 0
>
>     elif cancion == "h":
>         i = 0
>         print
>
>     try:
>         pygame.mixer.music.load(cancion)
>         pygame.mixer.music.play()
>         print "===== Reproduciendo ====="
>
>         while z:
>             ps = raw_input("(r) reproducir, (s) stop, (e) elegir otra
> cancion, (S) Salir: ")
>             if ps == "S":
>                 z = 0
>                 e = 0
>             elif ps == "s":
>                 pygame.mixer.music.stop()
>                 print "===== Parado ====="
>             elif ps == "e":
>                 z = 0
>             elif ps == "r":
>                 print "===== Reproduciendo ====="
>                 pygame.mixer.music.play()
>             else:
>                 print "No se reconoce la acción"
>     except:
>         if i == 1:
>             print "AguPlayer no puede leer", cancion
>             time.sleep(3)
>
>     os.system("reset")
>
> print "Espero que te halla gustado"
> time.sleep(2)
> os.system("reset")
>
>
>
>
>
> #!usr/bin/python
> # -*- coding: UTF-8 -*-
>
> import os
> import sys
>
> pregunta = "¿Deseas Continuar haciendo operaciones? (si/no) "
> descripcion_de_operacion = ""
> accion_desconocida = "No se reconoce la operación que deseas realizar"
>
> estado = True
> while estado: # mientras estado no esté vacío (es decir mientras sea True
> porque es un bool)
>
>     a = raw_input("Escribe el operando: ")
>     o = raw_input("¿Qué operación deseas hacer? (* , + , - , / , %): ")
>     b = raw_input("Escribe el operador: ")
>
>     descripcion_de_operacion = a + o + b + " = "
>
>     if o == "+":
>             print descripcion_de_operacion, float(a) + float(b)
>             salir_o_quedarse = raw_input(pregunta)
>
>
>             if salir_o_quedarse == "si":
>                 pass
>
>             elif salir_o_quedarse == "no":
>                 estado = False # estado vacío, saldrá del while
>             else:
>                 print accion_desconocida
>
>     elif o == "-":
>             print descripcion_de_operacion, float(a) - float(b)
>             salir_o_quedarse = raw_input(pregunta)
>
>
>             if salir_o_quedarse == "si":
>                 pass
>
>             elif salir_o_quedarse == "no":
>                 estado = False # estado vacío, saldrá del while
>             else:
>                 print accion_desconocida
>
>     elif o == "*":
>             print descripcion_de_operacion, float(a) * float(b)
>             salir_o_quedarse = raw_input(pregunta)
>
>
>             if salir_o_quedarse == "si":
>                 pass
>
>             elif salir_o_quedarse == "no":
>                 estado = False # estado vacío, saldrá del while
>             else:
>                 print accion_desconocida
>
>     elif o == "/":
>             print descripcion_de_operacion, float(a) / float(b)
>             salir_o_quedarse = raw_input(pregunta)
>
>
>             if salir_o_quedarse == "si":
>                 pass
>
>             elif salir_o_quedarse == "no":
>                 estado = False # estado vacío, saldrá del while
>             else:
>                 print accion_desconocida
>
>     elif o == "%":
>             print descripcion_de_operacion, float(a) * float(b) / 100
>             salir_o_quedarse = raw_input(pregunta)
>
>
>             if salir_o_quedarse == "si":
>                pass
>
>             elif salir_o_quedarse == "no":
>                 estado = False # estado vacío, saldrá del while
>             else:
>                 print accion_desconocida
>     else:
>             print accion_desconocida
>
>
>     os.system("clear")
>
> sys.exit()
>
>
> #!usr/bin/python
> # -*- coding: UTF-8 -*-
>
> import os
> import time
>
> os.system("reset")
>
> i = 1
> no_existe = "No existe la conversion que deseas hacer"
> salir_o_quedarse = "¿Deseas seguir haciendo conversiones?: "
> F = False
> con = "Escribe el numero correspondiente a la medida que deseas convertir:
> "
> scon = "se puede convertir a: "
>
> print "              >>>>>>>>>>>>>>>>> Conversor <<<<<<<<<<<<<<<<<<<<<<"
> os.system('espeak -ves ".  Bienvenido al Conversor de Cristofer Travieso.
> Nueva versión con aportes de Agustin Zubiaga. Espero sea de Utilidad  ."')
> print
>
> while i:
>
>     print
>     print "1 - kg"
>     print "2 - libra"
>     print "3 - onza"
>     print "4 - km"
>     print "5 - milla"
>     print "6 - metro"
>     print "7 - yarda"
>     print "8 - pie "
>     print "9 - cm"
>     print "10 - pulgada"
>     print "11 - mm"
>     print "12 - brazas"
>     print "13 - litros"
>     print "14 - pulgadas cubicas"
>     print "15 - pies cubicos"
>     print "16 - pintas Liquidas"
>     print "17 - quarter liquidas"
>     print "18 - gramos"
>     print "19 - stones"
>     print "20 - quarter"
>     print "21 - quintales metricos"
>     print "22 - hundredweights"
>     print "23 - toneladas metricas"
>     print "24 - Km/h"
>     print "25 - millas/h"
>     print "26 - nudos"
>     print "27 - horsepower"
>     print "28 - caballos vapor"
>     print
>
>     os.system('espeak -ves "Escribe la medida que deseas convertir."')
>     c = raw_input("Escribe la medida que deseas convertir: ")
>
>     if c == "1":
>     print
>     print "Kg",scon
>     print "1 - Libra"
>     print "2 - Onza"
>     print "3 - Stones"
>     print "4 - Quarter"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "1"
>     elif ca == "2":
>         i = "3"
>     elif ca == "3":
>         i = "27"
>     elif ca == "4":
>         i = "29"
>     else:
>         print no_existe
>
>     elif c == "2":
>     print
>     print "Libra",scon
>     print "1 - kg"
>     print "2 - toneladas metricas"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "2"
>     elif ca == "2":
>         i = "34"
>     else:
>         print no_existe
>
>     elif c == "3":
>     print
>     print "Onza",scon
>     print "1 - kg"
>     print "2 - gramos"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "4"
>     elif ca == "2":
>         i = "26"
>        else:
>         print no_existe
>
>     elif c == "4":
>     print
>     print "km",scon
>     print "1 - millas"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "5"
>     else:
>         print no_existe
>
>     elif c == "5":
>     print
>     print "Milla",scon
>     print "1 - km"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "6"
>     else:
>         print no_existe
>
>     elif c == "6":
>     print
>     print "Metros", scon
>     print "1 - Yarda"
>     print "2 - Pie"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "7"
>     elif ca == "2":
>         i = "9"
>     else:
>         print no_existe
>
>     elif c == "7":
>     print
>     print "Yarda", scon
>     print "1 - Metros"
>     ca = raw_input(con)
>     if c == "1":
>         i = "8"
>     else:
>         print no_existe
>
>     elif c == "8":
>     print
>     print "Pie",scon
>     print "1 - metro"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "10"
>     else:
>         print no_existe
>
>     elif c == "9":
>     print
>     print "Cm",scon
>     print "1 - pulgada"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "11"
>     else:
>         print no_existe
>
>     elif c == "10":
>     print
>     print "pulgada",scon
>     print "1 - cm"
>     print "2 - mm"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "12"
>     elif ca == "2":
>         i = "14"
>     else:
>         print no_existe
>
>     elif c == "11":
>     print
>     print "mm",scon
>     print "1 - pulgada"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "13"
>     else:
>         print no_existe
>
>     elif c == "12":
>     print
>     print "Brazas",scon
>     print "1 - Metros"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "16"
>     else:
>         print no_existe
>
>     elif c == "13":
>     print
>     print "Litros",scon
>     print "1 - Pulgadas cubicas"
>     print "2 - Pies cubicos"
>     print "3 - Pintas Liquidas"
>     print "4 - Quarter liquidas"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "17"
>     elif ca == "2":
>         i = "19"
>     elif ca == "3":
>         i = "21"
>     elif ca == "4":
>         i = "23"
>     else:
>         print no_existe
>
>     elif c == "14":
>     print
>     print "Pulgadas Cubicas",scon
>     print "1 - Litros"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "18"
>     else:
>         print no_existe
>
>     elif c == "15":
>     print
>     print "Pies cubicos",scon
>     print "1 - Litros"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "20"
>     else:
>         print no_existe
>
>     elif c == "16":
>     print
>     print "Pintas liquidas",scon
>     print "1 - Litros"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "22"
>     else:
>         print no_existe
>
>     elif c == "17":
>     print
>     print "Quarter liquidas",scon
>     print "1 - Litros"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i  = "24"
>     else:
>         print no_existe
>
>     elif c == "18":
>     print
>     print "Gramos",scon
>     print "1 - Onzas"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "25"
>     else:
>         print no_existe
>
>     elif c == "19":
>     print
>     print "Stones",scon
>     print "1 - kg"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "28"
>     else:
>         print no_existe
>
>     elif c == "20":
>     print
>     print "Quarter",scon
>     print "1 - Kg"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "30"
>     else:
>         print no_existe
>
>     elif c == "21":
>     print
>     print "Quintales Metricos",scon
>     print "1 - Hundredweights"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "31"
>     else:
>         print no_existe
>
>     elif c == "22":
>     print
>     print "Hundredweights",scon
>     print "1 - Quintales Metricos"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "32"
>       else:
>         print no_existe
>
>     elif c == "23":
>     print
>     print "Toneladas Metricas",scon
>     print "1 - Libras"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "33"
>     else:
>         print no_existe
>
>     elif c == "24":
>     print
>     print "Km/h",scon
>     print "1 - Millas/h"
>     print "2 - Nudos/h"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "35"
>     elif ca == "2":
>         i = "37"
>     else:
>         print no_existe
>
>     elif c == "25":
>     print
>     print "Millas/h",scon
>     print "1 - Km/h"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "36"
>     else:
>         print no_existe
>
>     elif c == "26":
>     print
>     print "Nudos/h",scon
>     print "1 - Km/h"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "38"
>     else:
>         print no_existe
>
>     elif c == "27":
>     print
>     print "Horsepower",scon
>     print "1 - Caballos vapor"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "40"
>     else:
>         print no_existe
>
>     elif c == "28":
>     print
>     print "Caballos vapor",scon
>     print "1 - Horsepower"
>     print
>     ca = raw_input(con)
>     if ca == "1":
>         i = "39"
>     else:
>         print no_existe
>     else:
>     print "No se encontro esa medida"
>     os.system('espeak -ves "No se encontro esa medida"')
>
>     if i == "1":
>         kg = float(raw_input("kg: "))
>         libra = kg * 2.20462
>         print libra, "libras"
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "2":
>         libra = float(raw_input("libras: "))
>         kg = libra * 0.4535929094
>         print kg, "kg"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "3":
>         kg = float(raw_input("kg: "))
>         orza = kg * 35.274
>         print orza, "onzas"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "4":
>         onza = float(raw_input("Onzas: "))
>         kg = onza * 0.0283494925
>         print kg, "kg"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "5":
>         km = float(raw_input("km: "))
>         milla = km * 0.62147
>         print milla, "millas"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "6":
>         milla = float(raw_input("milla: "))
>         km = milla * 1.6093470879
>         print km, "km"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "7":#M yarda
>         M = float(raw_input("Metro: "))
>         Yarda = M * 1.09361
>         print Yarda, "yardas"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "8":
>         yarda = float(raw_input("Yarda: "))
>         M = yarda * 0.9144027578
>         print M, "metros"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "9":
>         metro = float(raw_input("Metro: "))
>         pie = metro * 3.28084
>         print pie, "pies"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "10":
>         pie = float(raw_input("Pies: "))
>         metro = pie * 0.3047999902
>         print metro, "metros"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "11":
>         cm = float(raw_input("cm: "))
>         pulgada = cm * 0.3047999902
>         print pulgada, "pulgadas"
>         soq = raw_input(salir_o_quedarse)
>         if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "12":
>         pulgada = float(raw_input("pulgada: "))
>         cm = pulgada * 0.3047999902
>         print cm, "cm"
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "13":
>     mm = float(raw_input("mm: "))
>     pulgada = mm * 0.0394
>     print pulgada, "pulgadas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "14":
>     pulgada = float(raw_input("pulgada: "))
>     mm = pulgada * 25.401
>     print mm, "mm"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "15":
>     metros = float(raw_input("metros: "))
>     brazas = metros * 0.5468
>     print brazas, "brazas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "16":
>     brazas = float(raw_input("brazas: "))
>     metros = brazas * 1.8288
>     print metros, "metros"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>     elif i == "17":
>     litros = float(raw_input("Litros: "))
>     pulgadas_c = litros * 61.0238
>     print pulgadas_c, "Pulgadas Cubicas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>     elif i == "18":
>     pulgadas_c = float(raw_input("Pulgadas cubicas: "))
>     litros = pulgadas_c * 0.01639
>      print litros, "litros"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "19":
>     litros = float(raw_input("Litros: "))
>     pies_c = litros * 0.03531
>     print pies_c, "Pies Cubicos"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>     elif i == "20":
>     pies_c = float(raw_input("Pies Cubicos: "))
>     litros = pies_c * 28.3205
>     print litros, "litros"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>     elif i == "21":
>     litros = float(raw_input("Litros: "))
>     pintas_l = litros * 2.1134
>     print pintas_l, "Pintas Liquidas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "22":
>     pintas_l = float(raw_input("Pintas Liquidas: "))
>     litros = pintas_l * 0.4732
>     print litros, "Litros"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>     elif i == "23":
>     litros = float(raw_input("Litros: "))
>     quarter_l = litros * 1.0567
>     print quarter_l, "Quarter Liquidas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "24":
>     quarter_l = float(raw_input("Quarter Liquidas: "))
>     litros = quarter_l * 0.9463
>     print litros, "litros"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>     elif i == "25":
>     gramos = float(raw_input("Gramos: "))
>     onzas = gramos * 0.0353
>     print onzas, "Onzas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "26":
>     onzas = float(raw_input("Onzas: "))
>     gramos = onzas * 28.3495
>     print gramos, "Gramos"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "27":
>     kg = float(raw_input("KG: "))
>     stones = kg * 0.1570
>      print stones, "Stones"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "28":
>     stones = float(raw_input("Stones: "))
>     kg =  stones * 6.350
>     print kg, "kg"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "29":
>     kg = float(raw_input("KG: "))
>     quarter = kg * 0.0790
>     print quarter, "Quarter s"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "30":
>     quarter = float(raw_input("Quarter: "))
>     kg = quarter * 12.701
>     print kg, "kg"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "31":
>     quintales_m = float(raw_input("Quintales Metricos: "))
>     hundredweighs = quintales_m * 1.9680
>     print hundredweighs, "Hundredweighs"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "32":
>     hundredweighs = float(raw_input("Hundredweighs: "))
>     quintales_m = hundredweighs * 0.5082
>     print quintales_m, "Quintales Metricos"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "33":
>     toneladas_m = float(raw_inut("Toneladas Metricas: "))
>     libras = toneladas_m * 2205.620
>     print libras, "libras"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "34":
>     libras = float(raw_input("Libras: "))
>     toneladas_m = libras * 0.0004535
>     print toneladas_m, "Toneladas Metricas"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "35":
>     km_h = float(raw_input("Km/H: "))
>     m_h = km_h * 0.6214
>     print m_h, "Millas/H"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "36":
>     m_h = float(raw_input("Millas/H: "))
>     km_h = m_h * 1.6093
>     print km_h, "Km/H"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "37":
>     km_h = float(raw_input("Km/H: "))
>     nudos = km_h * 0.5396
>     print nudos, "Nudos"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "38":
>     nudos = float(raw_input("nudos: "))
>     km_h = nudos * 1.8532
>     print km_h, "Km/h"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "39":
>     caballos_v = float(raw_input("Caballos vapor: "))
>     horsepower = caballos_v * 0.9863
>     print horsepower, "Horsepower"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     elif i == "40":
>     horsepower = float(raw_input("Horsepower: "))
>     caballos_v = horsepower * 1.0139
>     print caballos_v, "Caballos Vapor"
>
>         soq = raw_input(salir_o_quedarse)
>     if soq == "si":
>           pass
>         elif soq == "no":
>           i = F
>
>     time.sleep(3)
>     os.system("reset")
>
> print "Espero que te haya sido útil"
> os.system('espeak -ves ".  Espero que te haya sido útil."')
> os.system("reset")
> sys.exit()
>
>
>
>
>
>
>
> El 6 de septiembre de 2010 18:26, Flavio Danesse <fdanesse en gmail.com>escribió:
>
> Lo invité a integrar esta última idea a la interfaz de CeibalTerminal,
>> cuando hagamos algún JAM dónde puedan participar los llevo, pero tiene que
>> ser alguna actividad dónde ellos puedan participar y entiendan lo que hacen,
>> de lo contrario no tiene sentido.
>>
>> Por ahora están muy metidos investigando, la semana que viene nos vamos a
>> reunir de nuevo y vamos a avanzar otro poquito.
>>
>>
>> El 6 de septiembre de 2010 15:43, anacim <ana.cichero en gmail.com>escribió:
>>
>>> Sugerencias:
>>> Poner estas pequeñas maravillas en el portal?
>>> Inaugurar el espacio de los niños/adolescentes?
>>>
>>> 2010/9/6 Pablo Flores <pflores2 en gmail.com>:
>>> > Integrar este muchacho al JAM ya!!! :)tro
>>> >> Otro código del mismo alumno:
>>> >>
>>> >> #!usr/bin/python
>>> >> # -*- coding: UTF-8 -*-
>>> >>
>>> >> print "Prepar flasheo, Agustin Zubiaga"
>>> >> print """
>>> >> """
>>> >> import os
>>> >> import sys
>>> >>
>>> >> estado = True
>>> >>
>>> >> while estado:
>>> >>     print "Estos son los pendrive conectados"
>>> >>     os.system("ls /media/")
>>> >>     pend = raw_input("Escribe sin faltas el nombre del pendrive con el
>>> que
>>> >> vas a flashear: ")
>>> >>     os.system("wget
>>> >> ftp://200.40.200.101/espacio_tecnico/imagenXo/uy802c.img") # wget +
>>> la
>>> >> direccion del archivo uy802(c o posterior).img
>>> >>     os.system("wget ftp://200.40.200.101/espacio_tec<ftp://200.40.200.101/espacio_tecnico/imagenXo/fs.zip>
>>>
>>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.laptop.org/pipermail/olpc-uruguay/attachments/20100921/be56184f/attachment-0001.htm 


More information about the Olpc-uruguay mailing list