Instalar:
$ sudo apt-get install tor privoxy -y
$ pip install selenium
Executar:
Instalar:
$ sudo apt-get install tor privoxy -y
$ pip install selenium
Executar:
Atividade | Horário | Local | Custo |
---|---|---|---|
[Cris e Day] Buscar DVP no aeroporto de BSB e deixar no Hotel | 13:25 | Aeroporto -> Nobile Suítes Monumental | Litro gasto |
[Profa. Alba] Jantar com Nicolas | 19:30 | Nobile Suítes Monumental -> Mangai -> Nobile Suítes Monumental | Jantar do DVP + Litro gasto |
import requests | |
from bs4 import BeautifulSoup | |
base_url = 'https://matriculaweb.unb.br' | |
page_mw = requests.get(base_url + '/graduacao/fluxo.aspx?cod=1856') | |
courses, course, all_cred, all_pr, all_courses_names = ([], {}, [], [], []) | |
all_refs = {} | |
courses_not_updated = ['COMPUTACAO BASICA'] | |
REMOVE_OUT_FLOW = True |
# worst teacher means the last temporary assignment on the prefered | |
# list of the school | |
def worstTeacher(final_match, school, school_pref_list): | |
big_index = -1 | |
index_to_look = [j[0] for j in final_match if j[1] == school] | |
for i in index_to_look: | |
ind = school_pref_list.index(i) | |
if ind > big_index: | |
big_index = ind |
import toga | |
class StartApp(toga.App): | |
def startup(self): | |
self.main_window = toga.MainWindow(self.name) | |
self.main_window.app = self | |
outer_box = toga.Box() | |
box1 = toga.Box(children=[toga.Label('test')]) | |
box2 = toga.Box(children=[toga.Label('split_container')]) |
"Port Cricket to use Toga, instead of Tkinter" proposal for Google Summer of Code 2017.
import toga | |
class StartApp(toga.App): | |
def startup(self): | |
self.main_window = toga.MainWindow(self.name) | |
self.main_window.app = self | |
box1 = toga.Box(children=[toga.Label('test')]) | |
box2 = toga.Box(children=[toga.Label('split_container')]) |
import toga | |
class StartApp(toga.App): | |
def startup(self): | |
self.main_window = toga.MainWindow(self.name) | |
self.main_window.app = self | |
main_content = toga.OptionContainer(content=[('b1', toga.Box()), | |
('b2', toga.Box())]) |
import toga | |
class StartApp(toga.App): | |
def startup(self): | |
self.main_window = toga.MainWindow(self.name) | |
self.main_window.app = self | |
right_box = toga.Box() | |
left_box = toga.Box() |