Skip to content

Instantly share code, notes, and snippets.

View wildlux's full-sized avatar

Paolo wildlux

View GitHub Profile
@wildlux
wildlux / Models.py
Last active July 25, 2019 18:28
Models for real estate
from django.db import models
import datetime
'''
FOTO=models.ImageField(upload_to='cartella_foto /' , blank=False, null=False)
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):
#!/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()