SHARE
TWEET

Untitled

a guest Feb 27th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This Python file uses the following encoding: utf-8
  2. from PyQt5 import QtWidgets, uic,QtCore,QtGui
  3. from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
  4. from PyQt5.QtMultimediaWidgets import QVideoWidget
  5. from PyQt5.QtGui import QIcon
  6. from PyQt5.QtGui import *
  7. from PyQt5.QtCore import *
  8. from PyQt5.QtWidgets import *
  9. import sys
  10. import cv2
  11. import numpy as np
  12. import matplotlib.pyplot as plt
  13. import pyttsx3
  14. import json
  15. import request
  16. import os
  17. import mysql.connector
  18. import imaplib
  19. import base64
  20. import email
  21. import pickle
  22. import os.path
  23. from datetime import date
  24.  
  25. class Test_App(QtWidgets.QWidget):
  26.     def __init__(self):
  27.         super(Test_App,self).__init__()
  28.         self.add_listener()
  29.         uic.loadUi('Test_app_Main.ui',self)
  30.  
  31.     def add_listener(self):
  32.          self.pushBtn_exit.clicked.connect(lambda: self.avvia(True))
  33.  
  34.  
  35. if __name__ == "__main__":
  36.     import sys
  37.     app = QApplication(sys.argv)
  38.     window = Test_App()
  39.     window.showFullScreen()
  40.     sys.exit(app.exec_())
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top