This file contains 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
#!/usr/bin/env python | |
import pygame | |
pygame.init() | |
percorso='13.mpg' | |
#percorso='/home/pi/MULTIMEDIA/13.mpg' | |
a=pygame.movie.Movie(percorso) | |
cine=pygame.movie.Movie(percorso) | |
pygame.movie.Movie(percorso) | |
#print cine | |
a.play() |
This file contains 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
import kivy | |
from kivy.app import App | |
from kivy.uix.button import Button | |
from kivy.lang import Builder | |
kivy.require('1.0.9') | |
Builder.load_file("./style_page.kv") | |
class GRID(App): |
This file contains 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.db import models | |
import datetime | |
''' | |
FOTO=models.ImageField(upload_to='cartella_foto /' , blank=False, null=False) |