コード例 #1
0
ファイル: examenNombre.py プロジェクト: jhocepSan/LlavesTkReg
 def __init__(self, dire):
     super(NombreExamen, self).__init__()
     self.dir = dire
     self.db = conector.Conector(self.dir)
     self.setWindowTitle("Nombre del Examen del club")
     self.myComponente()
     self.position()
コード例 #2
0
 def __init__(self, parent, dire, ide):
     super(tutorReg, self).__init__(parent)
     self.dir = dire
     self.ide = ide
     self.db = conector.Conector(self.dir)
     self.dataTutores = []
     self.componentes()
     self.position()
     self.setTitle("Tutores")
コード例 #3
0
ファイル: modPago.py プロジェクト: jhocepSan/LlavesTkReg
 def __init__(self, arg,dire):
     super(ModoPago,self).__init__(arg)
     self.dir=dire
     with open('%s/css/stylesAsis.css'%self.dir) as f:
         self.setStyleSheet(f.read())
     self.db=conector.Conector(self.dir)
     self.msg=Mensage.Msg(self.dir)
     self.myLabel()
     self.myBitton()
     self.position()
コード例 #4
0
 def __init__(self, parent, dire):
     super(buscarEst, self).__init__(parent)
     self.dir = dire
     self.setCheckable(True)
     self.setChecked(False)
     self.componentes()
     self.position()
     self.setTitle("Buscar Estudiante")
     self.estudiante = []
     self.db = conector.Conector(self.dir)
コード例 #5
0
 def __init__(self, arg, dire):
     super(GradoTec, self).__init__(arg)
     self.setGeometry(0, 0, 885, 630)
     self.dir = dire
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.myLabel()
     self.myButton()
     self.position()
コード例 #6
0
	def __init__(self, parent,dire):
		super(ingresos, self).__init__(parent)
		self.dir=dire
		self.setGeometry(0,0,885,630)
		with open('%s/css/stylesAsis.css'%self.dir) as f:
			self.setStyleSheet(f.read())
		self.db=conector.Conector(self.dir)
		self.myText()
		self.myEdit()
		self.myButton()
		self.position()
コード例 #7
0
ファイル: regIns.py プロジェクト: jhocepSan/LlavesTkReg
 def __init__(self, arg, dire):
     super(RegIns, self).__init__(arg)
     self.dir = dire
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     self.buscare = buscar.buscarEst(self, self.dir)
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.myLine()
     self.myButton()
     self.loadInstructor()
     self.position()
コード例 #8
0
ファイル: nomina.py プロジェクト: jhocepSan/LlavesTkReg
 def __init__(self, arg, dire):
     super(ListaEstu, self).__init__(arg)
     self.setGeometry(0, 0, 1050, 670)
     self.setWindowTitle("Lista de Estudiantes")
     self.dir = dire
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     self.myLista()
     self.myButon()
     self.position()
コード例 #9
0
ファイル: tecR.py プロジェクト: jhocepSan/LlavesTkReg
 def __init__(self, parent, dire, ide):
     super(tecR, self).__init__(parent)
     self.elementos = False
     self.persona = ide
     self.dir = dire
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     with open('%s/css/stylesMenu.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.texto()
     self.line()
     self.botones()
     self.position()
コード例 #10
0
ファイル: mesEstu.py プロジェクト: jhocepSan/LlavesTkReg
 def __init__(self, parent, dire):
     super(mesEstu, self).__init__(parent)
     self.dir = dire
     self.msg = Mensage.Msg(self.dir)
     self.db = conector.Conector(self.dir)
     self.buscare = buscar.buscarEst(self, self.dir)
     self.buscare.mostrar.clicked.connect(self.colocarEst)
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.texto()
     self.myLine()
     self.botones()
     self.position()
コード例 #11
0
 def __init__(self, parent, dir):
     super(Club, self).__init__(parent)
     self.dir = dir
     with open('%s/css/stylesAsis.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.db = conector.Conector(self.dir)
     self.setWindowTitle("Agregar Club")
     self.msg = Mensage.Msg(self.dir)
     self.myText()
     self.myLine()
     self.myButton()
     self.position()
     self.llenarClub()
コード例 #12
0
 def __init__(self, arg,dire):
     super(ClubExamen, self).__init__(arg)
     self.dir=dire
     self.nombreExamen=''
     with open('%s/css/stylesAsis.css'%self.dir) as f:
         self.setStyleSheet(f.read())
     self.setGeometry(0,0,1050,670)
     self.setWindowTitle("Lista de Estudiantes Para el Examen Club")
     self.buscare=buscar.buscarEst(self,self.dir)
     self.buscare.mostrar.clicked.connect(self.agregarLista)
     self.msg=Mensage.Msg(self.dir)
     self.db=conector.Conector(self.dir)
     self.myElemeto()
     self.myButon()
     self.position()
コード例 #13
0
	def __init__(self,arg,dire):
		super(RegistraAsis, self).__init__(arg)
		self.diccionario={'Monday':'Lunes','Tuesday':'Martes','Wednesday':'Miercoles',
		'Thursday':'Jueves','Friday':'Viernes','Saturday':'Sabado','Sunday':'Domingo',
		'January':'Enero','February':'Febrero','March':'Marzo','April':'Abril','May':'Mayo',
		'June':'Junio','July':'Julio','August':'Agosto','September':'Septiembre',
		'October':'Octubre','November':'Noviembre','December':'Diciembre'}
		self.dir=dire
		self.msg=Mensage.Msg(self.dir)
		self.db=conector.Conector(self.dir)
		self.option=optionTabla.OptionTabla(self.dir)
		self.buscare=buscar.buscarEst(self,self.dir)
		self.buscare.mostrar.clicked.connect(self.actualiza)
		self.setGeometry(0,0,1050,670)
		self.setWindowTitle("Control de Asistencia")
		self.myLabel()
		self.myButton()
		with open('%s/css/stylesAsis.css'%self.dir) as f:
			self.setStyleSheet(f.read())
		self.position()
コード例 #14
0
 def __init__(self, parent, dire, ide):
     super(formR, self).__init__(parent)
     self.persona = ide
     self.dir = dire
     self.dirBr = ""
     self.dirQr = ""
     self.dirFoto = ""
     self.db = conector.Conector(self.dir)
     self.msg = Mensage.Msg(self.dir)
     self.verf = verhoeff.verhoeff()
     self.b64 = Base64SIN.base64sin()
     with open('%s/css/stylesMenu.css' % self.dir) as f:
         self.setStyleSheet(f.read())
     self.buscare = buscar.buscarEst(self, self.dir)
     #self.buscare.clicked.connect(self.actualizar)
     self.timer = QTimer(self)
     self.texto()
     self.inTex()
     self.botones()
     self.position()
コード例 #15
0
 def setUp(self):
     self.conector = conector.Conector()
コード例 #16
0
#!/usr/bin/env python
#-*- coding: utf-8 -*-

import pyblr
import conector
from publicacion import Publicacion
from usuario import Usuario
import time

client = pyblr.Pyblr(conector.Conector().getConexion())

posts = client.dashboard({"limit": 50, "type": "photo", "notes_info": "false"})

while True:

    for post in posts["posts"]:
        publicacion = Publicacion(client, post)
        print "RATIO: " + str(
            publicacion.getAtributo("note_count") /
            publicacion.getAntiguedad())
        print publicacion.getAtributo("post_url")

        if publicacion.publicable():
            publicacion.reblog()

    time.sleep(1800)