id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
Python_Threading_Schedule/busdriverschedulings_1017_0.txt
[ 6 , "08:40" , "08:50" , 520 , 530 , 10 ],
Python_Threading_Schedule/busdriverschedulings_1484_0.txt
[ 182 , "06:48" , "08:15" , 408 , 495 , 87 ],
Python_Threading_Schedule/busdriverschedulings_346_0.txt
378
Python_Threading_Schedule/busdriverschedulings_1811_0.txt
[ 509 , "10:55" , "11:34" , 655 , 694 , 39 ],
Python_Threading_Schedule/busdriverschedulings_301_0.txt
333
Python_Threading_Schedule/busdriverschedulings_1781_0.txt
[ 479 , "10:25" , "11:04" , 625 , 664 , 39 ],
Python_Threading_Schedule/busdriverschedulings_1170_0.txt
[ 70 , "11:00" , "11:16" , 660 , 676 , 16 ],
Python_Threading_Schedule/busdriverschedulings_85_0.txt
117
Python_Threading_Schedule/busdriverschedulings_1194_0.txt
[ 94 , "13:14" , "14:38" , 794 , 878 , 84 ],
Python_Threading_Schedule/busdriverschedulings_1946_0.txt
[ 644 , "12:46" , "13:21" , 766 , 801 , 35 ],
Python_Threading_Schedule/Python_schedule__2_0.txt
## Use a decorator to schedule a job ¶ Use the ` @repeat ` to schedule a function. Pass it an interval using the same syntax as above while omitting the ` .do() ` . from schedule import every, repeat, run_pending import time @repeat(every(10).minutes) def job(): print("I am ...
Python_Threading_Schedule/busdriverschedulings_1554_0.txt
[ 252 , "07:28" , "08:09" , 448 , 489 , 41 ],
Python_Threading_Schedule/busdriverschedulings_1340_0.txt
[ 38 , "05:03" , "05:18" , 303 , 318 , 15 ],
Python_Threading_Schedule/busdriverschedulings_1780_0.txt
[ 478 , "10:24" , "10:35" , 624 , 635 , 11 ],
Python_Threading_Schedule/1722_131_0.txt
# Solve model. solver = cp_model.CpSolver() solver.parameters.log_search_progress = True # not minimize_drivers solver.parameters.num_search_workers = 8 status = solver.Solve(model)
Python_Threading_Schedule/workflowyschedulingi_7_0.txt
Feb 18, 2016 • 3 min read
Python_Threading_Schedule/busdriverschedulings_692_0.txt
724
Python_Threading_Schedule/1722_119_0.txt
# Increase no_break_driving or reset it to 0 depending on the delay if delay >= min_pause_after_4h: model.Add( no_break_driving[d, o] == other[5]).OnlyEnforceIf(lit) else: model.Add( no_break_driving[d, o] == no_break_driving[d, s] + other[5]).OnlyEnforceIf(lit)
Python_Threading_Schedule/workflowyschedulingi_27_0.txt
@classmethod def __login(cls): cls.__click_button("div.header-bar a.button--top-right") cls.__wait_for_element_to_appear("#id_username") cls.__fill_text_box("#id_username", settings.workflowy_username) cls.__fill_text_box("#id_password", settings.workflowy_password) cls.__click_button("input.button--submit")
Python_Threading_Schedule/busdriverschedulings_892_0.txt
924
Python_Threading_Schedule/busdriverschedulings_1195_0.txt
[ 95 , "13:23" , "13:49" , 803 , 829 , 26 ],
Python_Threading_Schedule/busdriverschedulings_138_0.txt
170
Python_Threading_Schedule/busdriverschedulings_1579_0.txt
[ 277 , "07:46" , "08:28" , 466 , 508 , 42 ],
Python_Threading_Schedule/busdriverschedulings_1035_0.txt
[ 24 , "15:38" , "16:25" , 938 , 985 , 47 ],
Python_Threading_Schedule/busdriverschedulings_1213_0.txt
[ 113 , "14:25" , "15:02" , 865 , 902 , 37 ],
Python_Threading_Schedule/busdriverschedulings_1079_0.txt
[ 31 , "14:48" , "15:35" , 888 , 935 , 47 ],
Python_Threading_Schedule/busdriverschedulings_1291_0.txt
[ 191 , "22:43" , "23:08" , 1363 , 1388 , 25 ],
Python_Threading_Schedule/workflowyschedulingi_24_0.txt
cls.browser.get(cls.workflowy_url)
Python_Threading_Schedule/1722_116_0.txt
# Node performed: # - add upper bound on start_time # - add lower bound on end_times model.Add(start_times[d] <= shift[3] - setup_time).OnlyEnforceIf( performed[d, s]) model.Add(end_times[d] >= shift[4] + cleanup_time).OnlyEnforceIf( performed[d, s])
Python_Threading_Schedule/busdriverschedulings_1844_0.txt
[ 542 , "11:25" , "12:04" , 685 , 724 , 39 ],
Python_Threading_Schedule/busdriverschedulings_59_0.txt
## Breadcrumbs
Python_Threading_Schedule/busdriverschedulings_113_0.txt
145
Python_Threading_Schedule/pythonjobscheduling_2_0.txt
RunMyJobs by Redwood
Python_Threading_Schedule/busdriverschedulings_1449_0.txt
[ 147 , "06:26" , "07:45" , 386 , 465 , 79 ],
Python_Threading_Schedule/busdriverschedulings_1135_0.txt
[ 35 , "07:04" , "07:44" , 424 , 464 , 40 ],
Python_Threading_Schedule/busdriverschedulings_370_0.txt
402
Python_Threading_Schedule/busdriverschedulings_1949_0.txt
[ 647 , "12:48" , "12:58" , 768 , 778 , 10 ],
Python_Threading_Schedule/busdriverschedulings_731_0.txt
763
Python_Threading_Schedule/busdriverschedulings_1099_0.txt
SAMPLE_SHIFTS_MEDIUM = [
Python_Threading_Schedule/busdriverschedulings_338_0.txt
370
Python_Threading_Schedule/busdriverschedulings_949_0.txt
981
Python_Threading_Schedule/busdriverschedulings_1084_0.txt
[ 36 , "15:58" , "16:45" , 958 , 1005 , 47 ],
Python_Threading_Schedule/busdriverschedulings_443_0.txt
475
Python_Threading_Schedule/busdriverschedulings_697_0.txt
729
Python_Threading_Schedule/busdriverschedulings_228_0.txt
260
Python_Threading_Schedule/busdriverschedulings_789_0.txt
821
Python_Threading_Schedule/busdriverschedulings_38_0.txt
[ Sign up ](/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser- name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header- repo&source_repo=google%2For-tools)
Python_Threading_Schedule/pythonjobscheduling_105_0.txt
Workload Automation Blockchain and Automation: a Perfect Match? Trust is an important part of any business transaction. Trust within an organization is often implicit but it is a more difficult proposition when it comes to the need to share data to third parties, partners and other external organizations. Most often, t...
Python_Threading_Schedule/busdriverschedulings_490_0.txt
522
Python_Threading_Schedule/busdriverschedulings_165_0.txt
197
Python_Threading_Schedule/workflowyschedulingi_37_0.txt
As is the nature of web pages and Selenium; elements I need to interact with won’t necessarily be rendered when my code gets to them (the page could still be loading, waiting for an ajax response, etc). To get around this we need to instruct Selenium to wait until the element is visible. To do so:
Python_Threading_Schedule/busdriverschedulings_1310_0.txt
[ 8 , "04:34" , "04:44" , 274 , 284 , 10 ],
Python_Threading_Schedule/busdriverschedulings_1537_0.txt
[ 235 , "07:19" , "08:13" , 439 , 493 , 54 ],
Python_Threading_Schedule/busdriverschedulings_362_0.txt
394
Python_Threading_Schedule/busdriverschedulings_1722_0.txt
[ 420 , "09:29" , "10:23" , 569 , 623 , 54 ],
Python_Threading_Schedule/busdriverschedulings_1742_0.txt
[ 440 , "09:48" , "10:04" , 588 , 604 , 16 ],
Python_Threading_Schedule/busdriverschedulings_46_0.txt
## Files
Python_Threading_Schedule/busdriverschedulings_916_0.txt
948
Python_Threading_Schedule/busdriverschedulings_1594_0.txt
[ 292 , "07:57" , "08:39" , 477 , 519 , 42 ],
Python_Threading_Schedule/busdriverschedulings_1933_0.txt
[ 631 , "12:38" , "13:25" , 758 , 805 , 47 ],
Python_Threading_Schedule/busdriverschedulings_675_0.txt
707
Python_Threading_Schedule/workflowyschedulingi_40_0.txt
def __mark_results_with_tag(cls, tag: str): for element in cls.browser.find_elements_by_css_selector("div.name.matches"): text = element.text if tag not in text: text_box = element.find_element_by_css_selector("div.content") text_box.click() text_box.send_keys(Keys.END) text_box.send_keys(" " + tag)
Python_Threading_Schedule/busdriverschedulings_1883_0.txt
[ 581 , "11:59" , "13:24" , 719 , 804 , 85 ],
Python_Threading_Schedule/busdriverschedulings_1857_0.txt
[ 555 , "11:39" , "12:33" , 699 , 753 , 54 ],
Python_Threading_Schedule/busdriverschedulings_558_0.txt
590
Python_Threading_Schedule/busdriverschedulings_1812_0.txt
[ 510 , "10:56" , "11:38" , 656 , 698 , 42 ],
Python_Threading_Schedule/busdriverschedulings_586_0.txt
618
Python_Threading_Schedule/busdriverschedulings_793_0.txt
825
Python_Threading_Schedule/busdriverschedulings_6_0.txt
* [ Actions Automate any workflow ](https://github.com/features/actions) * [ Packages Host and manage packages ](https://github.com/features/packages) * [ Security Find and fix vulnerabilities ](https://github.com/features/security) * [ Codespaces Instant dev environments ](https://github.com/features/codespace...
Python_Threading_Schedule/busdriverschedulings_541_0.txt
573
Python_Threading_Schedule/busdriverschedulings_884_0.txt
916
Python_Threading_Schedule/busdriverschedulings_243_0.txt
275
Python_Threading_Schedule/busdriverschedulings_1460_0.txt
[ 158 , "06:34" , "08:16" , 394 , 496 , 102 ],
Python_Threading_Schedule/busdriverschedulings_963_0.txt
995
Python_Threading_Schedule/busdriverschedulings_482_0.txt
514
Python_Threading_Schedule/busdriverschedulings_1624_0.txt
[ 322 , "08:17" , "09:13" , 497 , 553 , 56 ],
Python_Threading_Schedule/busdriverschedulings_1738_0.txt
[ 436 , "09:45" , "10:24" , 585 , 624 , 39 ],
Python_Threading_Schedule/busdriverschedulings_39_0.txt
You signed in with another tab or window. [ Reload ]() to refresh your session. You signed out in another tab or window. [ Reload ]() to refresh your session. You switched accounts on another tab or window. [ Reload ]() to refresh your session. Dismiss alert
Python_Threading_Schedule/busdriverschedulings_1721_0.txt
[ 419 , "09:29" , "10:56" , 569 , 656 , 87 ],
Python_Threading_Schedule/1722_144_0.txt
[ ![@alexpoh](https://avatars.githubusercontent.com/u/55818402?s=40&v=4) ](/alexpoh) [ alexpoh ](/alexpoh) closed this as [ completed ](/google/or- tools/issues?q=is%3Aissue+is%3Aclosed+archived%3Afalse+reason%3Acompleted) Nov 27, 2019
Python_Threading_Schedule/workflowyschedulingi_33_0.txt
@classmethod def __fill_text_box(cls, css_selector: str, text_to_input: str): cls.browser.find_element_by_css_selector(css_selector).send_keys(text_to_input)
Python_Threading_Schedule/busdriverschedulings_1279_0.txt
[ 179 , "20:29" , "21:18" , 1229 , 1278 , 49 ],
Python_Threading_Schedule/busdriverschedulings_990_0.txt
import collections
Python_Threading_Schedule/1722_5_0.txt
* Product
Python_Threading_Schedule/busdriverschedulings_857_0.txt
889
Python_Threading_Schedule/busdriverschedulings_299_0.txt
331
Python_Threading_Schedule/busdriverschedulings_860_0.txt
892
Python_Threading_Schedule/1722_20_0.txt
* [ Topics ](https://github.com/topics) * [ Trending ](https://github.com/trending) * [ Collections ](https://github.com/collections)
Python_Threading_Schedule/busdriverschedulings_1551_0.txt
[ 249 , "07:27" , "07:42" , 447 , 462 , 15 ],
Python_Threading_Schedule/busdriverschedulings_320_0.txt
352
Python_Threading_Schedule/busdriverschedulings_56_0.txt
[ ](/google/or- tools/commits/stable/examples/python/bus_driver_scheduling_sat.py)
Python_Threading_Schedule/busdriverschedulings_891_0.txt
923
Python_Threading_Schedule/busdriverschedulings_1425_0.txt
[ 123 , "06:11" , "06:54" , 371 , 414 , 43 ],
Python_Threading_Schedule/1722_87_0.txt
**[ alexpoh357 ](/alexpoh357) ** commented Nov 20, 2019
Python_Threading_Schedule/busdriverschedulings_965_0.txt
997
Python_Threading_Schedule/busdriverschedulings_634_0.txt
666
Python_Threading_Schedule/busdriverschedulings_1304_0.txt
[ 2 , "04:29" , "05:26" , 269 , 326 , 57 ],
Python_Threading_Schedule/busdriverschedulings_1338_0.txt
[ 36 , "05:02" , "05:12" , 302 , 312 , 10 ],
Python_Threading_Schedule/busdriverschedulings_667_0.txt
699
Python_Threading_Schedule/busdriverschedulings_913_0.txt
945