This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*-# -*- coding: utf-8 -*- | |
from Tkinter import * | |
import tkColorChooser #libreria para obtener la gama de colores | |
#crecion de la ventana principal | |
v0 = Tk() | |
v0.title('Menu de figuras con polygonos') | |
v0.config(bg = 'brown') #bg para el color de fondo de la ventana | |
v0.geometry('200x400')#tamaño de la ventana |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*-* | |
import random | |
import textwrap | |
def print_Bold(msj): | |
print("\033[1m" + msj + "\033[0m") | |
def mostrar_mision(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void setup() { | |
pinMode(13,OUTPUT); | |
} | |
void loop() { | |
digitalWrite(13, HIGH); | |
delay(2000); | |
digitalWrite(13,LOW); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Tkinter import * | |
from PIL import Image,ImageTk # la usamos para desplegar las imagenes | |
import os #para poder usar las las ruta de archivos o carpetas | |
import pygame # para reproducir los archivos de sonido mp3 | |
import time | |
import random | |
dir = os.path.dirname(__file__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Tkinter import * | |
from PIL import Image,ImageTk # la usamos para desplegar las imagenes | |
import os #para poder usar las las ruta de archivos o carpetas | |
import pygame # para reproducir los archivos de sonido mp3 | |
import time | |
import random | |
dir = os.path.dirname(__file__) | |
fotos = dir + '/imagenes2/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Tkinter import * | |
from PIL import Image,ImageTk # la usamos para desplegar las imagenes | |
import os #para poder usar las las ruta de archivos o carpetas | |
import pygame # para reproducir los archivos de sonido mp3 | |
import time | |
import random | |
dir = os.path.dirname(__file__) | |
fotos = dir + '/imagenes2/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Tkinter import * | |
from PIL import Image,ImageTk # la usamos para desplegar las imagenes | |
import os #para poder usar las las ruta de archivos o carpetas | |
import pygame # para reproducir los archivos de sonido mp3 | |
import time | |
import random | |
dir = os.path.dirname(__file__) | |
fotos = dir + '/imagenes2/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib import admin | |
# Register your models here. | |
from .models import Alumno | |
from .models import Curso | |
from .models import Matricula | |
admin.site.register(Alumno) | |
admin.site.register(Curso) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from __future__ import unicode_literals | |
from django.db import models | |
# Create your models here. | |
class Alumno(models.Model): | |
ApellidoPaterno= models.CharField(max_length=35) | |
ApellidoMaterno = models.CharField(max_length=35) | |
Nombres = models.CharField(max_length=35) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CR EQU 13 | |
LF EQU 0Ah | |
DATOS SEGMENT | |
MENSAJE DB CR, LF, 'Hola mundo en Turbo Assambler', CR, LF, '$' | |
DATOS ENDS | |
PILA SEGMENT STACK | |
DB 64 DUP('PILA') | |
PILA ENDS |
NewerOlder