This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
from tkinter import ttk | |
from ttkthemes import ThemedTk | |
# Usando o TTK, se não lembra, pode voltar nos posts anteriores | |
root = ThemedTk(theme='ubuntu') |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
root = tk.Tk() | |
# Esse é o widget Canvas :) | |
canvas = tk.Canvas(root) | |
# E esse já é o primeiro método que trabalha com textos no Canvas |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
import tkinter.messagebox as tm | |
from tkinter import ttk | |
from ttkthemes import ThemedTk | |
root = ThemedTk(theme='blue') |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
import tkinter.messagebox as tm | |
import tkinter.filedialog as tf | |
ARQUIVO = None | |
def novo(): |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import re | |
import tkinter as tk | |
from selenium.webdriver import Firefox | |
PATH = r'/home/rodrigo/geckodriver' | |
root = tk.Tk() |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import pathlib | |
import urllib.request | |
import tkinter as tk | |
import requests | |
from parsel import Selector | |
from tk_html_widgets import HTMLLabel | |
from PIL import Image |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
import requests | |
from parsel import Selector | |
from tkinter import ttk | |
from tk_html_widgets import HTMLLabel | |
from time import strftime |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
from tk_html_widgets import HTMLLabel | |
root = tk.Tk() | |
# A Label HTML View | |
minha_label = HTMLLabel(root, html=""" |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
from time import sleep | |
from tkinter import ttk | |
from ttkthemes import ThemedTk | |
from time import strftime | |
root = ThemedTk(theme='radiance') |
This file contains hidden or 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 python3 | |
# -*- coding: utf-8 -*- | |
import tkinter as tk | |
from tkinter import ttk | |
from ttkthemes import ThemedTk | |
from functools import partial | |
# Função que valida o Login | |
def validar_login(username, password): |