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 smtplib | |
fromaddr = '' | |
toaddrs = '' | |
msg = "\r\n".join([ | |
"From: %s" % fromaddr, | |
"To: %s" % toaddrs, | |
"Subject: THIS PYTHON SHIT IS WORKING!!!", | |
"", | |
]) |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QLabel, | |
QComboBox, QApplication) | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.initUI() |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QHBoxLayout, QFrame, | |
QSplitter, QApplication) | |
from PyQt5.QtCore import Qt | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.initUI() |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QCalendarWidget, | |
QLabel, QApplication) | |
from PyQt5.QtCore import QDate | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.initUI() |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QProgressBar, | |
QPushButton, QApplication) | |
from PyQt5.QtCore import QBasicTimer | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.initUI() |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QPushButton, | |
QFrame, QApplication) | |
from PyQt5.QtGui import QColor | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.init_ui() |
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 sys | |
from PyQt5.QtWidgets import QWidget, QCheckBox, QApplication | |
from PyQt5.QtCore import Qt | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.init_ui() |
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 sys | |
from PyQt5.QtWidgets import (QMainWindow, QTextEdit, | |
QAction, QFileDialog, QApplication) | |
from PyQt5.QtGui import QIcon | |
class Example(QMainWindow): | |
def __init__(self): | |
super().__init__() | |
self.init_ui() |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QVBoxLayout, QPushButton, | |
QSizePolicy, QLabel, QFontDialog, QApplication) | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.init_ui() |
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 sys | |
from PyQt5.QtWidgets import (QWidget, QPushButton, QFrame, | |
QColorDialog, QApplication) | |
from PyQt5.QtGui import QColor | |
class Example(QWidget): | |
def __init__(self): | |
super().__init__() | |
self.init_ui() |