id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
Python_Threading_Schedule/busdriverschedulings_496_0.txt | 528 | |
Python_Threading_Schedule/busdriverschedulings_1599_0.txt | [ 297 , "08:00" , "09:05" , 480 , 545 , 65 ], | |
Python_Threading_Schedule/busdriverschedulings_1297_0.txt | [ 197 , "00:02" , "00:12" , 1442 , 1452 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_605_0.txt | 637 | |
Python_Threading_Schedule/busdriverschedulings_1905_0.txt | [ 603 , "12:16" , "12:28" , 736 , 748 , 12 ], | |
Python_Threading_Schedule/busdriverschedulings_687_0.txt | 719 | |
Python_Threading_Schedule/Python_threading__5_1.txt | untimeError "RuntimeError") is raised.
This method releases the underlying lock, and then blocks until it is awakened
by a ` notify() ` or ` notify_all() ` call for the same condition variable
in another thread, or until the optional timeout occurs. Once awakened or
timed out, it re-acquires the lock and returns.
... | |
Python_Threading_Schedule/workflowyschedulingi_3_0.txt | [ Python ](/tag/python/) | |
Python_Threading_Schedule/busdriverschedulings_1448_0.txt | [ 146 , "06:24" , "06:57" , 384 , 417 , 33 ], | |
Python_Threading_Schedule/busdriverschedulings_1044_0.txt | # - shift end time as hh:mm string (for logging and readability purposes) | |
Python_Threading_Schedule/pythonjobscheduling_102_0.txt | Learn More | |
Python_Threading_Schedule/busdriverschedulings_1728_0.txt | [ 426 , "09:35" , "10:14" , 575 , 614 , 39 ], | |
Python_Threading_Schedule/busdriverschedulings_1062_0.txt | [ 14 , "08:28" , "08:50" , 508 , 530 , 22 ], | |
Python_Threading_Schedule/busdriverschedulings_372_0.txt | 404 | |
Python_Threading_Schedule/busdriverschedulings_1576_0.txt | [ 274 , "07:43" , "08:24" , 463 , 504 , 41 ], | |
Python_Threading_Schedule/busdriverschedulings_163_0.txt | 195 | |
Python_Threading_Schedule/busdriverschedulings_1515_0.txt | [ 213 , "07:05" , "07:46" , 425 , 466 , 41 ], | |
Python_Threading_Schedule/busdriverschedulings_435_0.txt | 467 | |
Python_Threading_Schedule/Python_schedule__5_0.txt | ## Run a job once ¶
Return ` schedule.CancelJob ` from a job to remove it from the scheduler.
import schedule
import time
def job_that_executes_once():
# Do some work that only needs to happen once...
return schedule.CancelJob
schedule.every().day.at('22:30').do(... | |
Python_Threading_Schedule/1722_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_1393_0.txt | [ 91 , "05:50" , "06:00" , 350 , 360 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1601_0.txt | [ 299 , "08:00" , "08:35" , 480 , 515 , 35 ], | |
Python_Threading_Schedule/busdriverschedulings_1386_0.txt | [ 84 , "05:44" , "07:10" , 344 , 430 , 86 ], | |
Python_Threading_Schedule/busdriverschedulings_1499_0.txt | [ 197 , "06:57" , "07:58" , 417 , 478 , 61 ], | |
Python_Threading_Schedule/busdriverschedulings_900_0.txt | 932 | |
Python_Threading_Schedule/busdriverschedulings_361_0.txt | 393 | |
Python_Threading_Schedule/busdriverschedulings_157_0.txt | 189 | |
Python_Threading_Schedule/busdriverschedulings_1461_0.txt | [ 159 , "06:34" , "07:09" , 394 , 429 , 35 ], | |
Python_Threading_Schedule/busdriverschedulings_1364_0.txt | [ 62 , "05:27" , "05:54" , 327 , 354 , 27 ], | |
Python_Threading_Schedule/busdriverschedulings_183_0.txt | 215 | |
Python_Threading_Schedule/busdriverschedulings_906_0.txt | 938 | |
Python_Threading_Schedule/1722_133_0.txt | # Display solution
if minimize_drivers:
max_num_drivers = int(solver.ObjectiveValue())
print('minimal number of drivers =', max_num_drivers)
return max_num_drivers | |
Python_Threading_Schedule/1722_29_0.txt | Include my email address so I can be contacted | |
Python_Threading_Schedule/busdriverschedulings_1383_0.txt | [ 81 , "05:41" , "06:23" , 341 , 383 , 42 ], | |
Python_Threading_Schedule/busdriverschedulings_631_0.txt | 663 | |
Python_Threading_Schedule/busdriverschedulings_1381_0.txt | [ 79 , "05:40" , "06:41" , 340 , 401 , 61 ], | |
Python_Threading_Schedule/busdriverschedulings_1615_0.txt | [ 313 , "08:10" , "08:20" , 490 , 500 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1073_0.txt | [ 25 , "12:18" , "13:00" , 738 , 780 , 42 ], | |
Python_Threading_Schedule/busdriverschedulings_374_0.txt | 406 | |
Python_Threading_Schedule/busdriverschedulings_624_0.txt | 656 | |
Python_Threading_Schedule/busdriverschedulings_542_0.txt | 574 | |
Python_Threading_Schedule/busdriverschedulings_280_0.txt | 312 | |
Python_Threading_Schedule/busdriverschedulings_1348_0.txt | [ 46 , "05:11" , "05:53" , 311 , 353 , 42 ], | |
Python_Threading_Schedule/busdriverschedulings_1650_0.txt | [ 348 , "08:35" , "08:55" , 515 , 535 , 20 ], | |
Python_Threading_Schedule/workflowyschedulingi_13_0.txt | * Scheduled items
* Repeating tasks
* Reminders | |
Python_Threading_Schedule/busdriverschedulings_288_0.txt | 320 | |
Python_Threading_Schedule/busdriverschedulings_678_0.txt | 710 | |
Python_Threading_Schedule/busdriverschedulings_985_0.txt | \- 30 min break after each 4h of driving time per driver | |
Python_Threading_Schedule/busdriverschedulings_1091_0.txt | [ 43 , "17:19" , "18:31" , 1039 , 1111 , 72 ], | |
Python_Threading_Schedule/busdriverschedulings_1474_0.txt | [ 172 , "06:42" , "07:26" , 402 , 446 , 44 ], | |
Python_Threading_Schedule/busdriverschedulings_73_0.txt | 105 | |
Python_Threading_Schedule/busdriverschedulings_1688_0.txt | [ 386 , "09:00" , "09:16" , 540 , 556 , 16 ], | |
Python_Threading_Schedule/busdriverschedulings_1196_0.txt | [ 96 , "13:25" , "14:04" , 805 , 844 , 39 ], | |
Python_Threading_Schedule/busdriverschedulings_1432_0.txt | [ 130 , "06:14" , "07:40" , 374 , 460 , 86 ], | |
Python_Threading_Schedule/Python_threading__2_2.txt | the main
thread default to ` daemon ` = ` False ` .
The entire Python program exits when no alive non-daemon threads are left.
isDaemon ( ) ¶
setDaemon ( ) ¶
Deprecated getter/setter API for ` daemon ` ; use it directly as a property
instead.
Deprecated since version 3.10.
| |
Python_Threading_Schedule/pythonjobscheduling_87_0.txt | Learn More | |
Python_Threading_Schedule/1722_90_0.txt | TEST_DATA = [
[0, '14:39', '16:17', 879, 977, 98],
[1, '14:39', '15:59', 879, 959, 80],
[2, '14:39', '15:25', 879, 925, 46],
[3, '14:39', '15:25', 879, 925, 46],
[4, '14:40', '15:54', 880, 954, 74],
[5, '14:40', '15:50', 880, 950, 70],
[6, '14:41', '15:59', 881, 959, 78],
[7, '14:43', '16:03', 883, 963, 80],
[8, '14:48... | |
Python_Threading_Schedule/busdriverschedulings_1951_0.txt | [ View remainder of file in raw view ](https://github.com/google/or-
tools/raw/stable/examples/python/bus_driver_scheduling_sat.py) | |
Python_Threading_Schedule/busdriverschedulings_1369_0.txt | [ 67 , "05:30" , "05:40" , 330 , 340 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1709_0.txt | [ 407 , "09:20" , "09:30" , 560 , 570 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_810_0.txt | 842 | |
Python_Threading_Schedule/1722_50_0.txt | Already on GitHub? [ Sign in ](/login?return_to=%2Fgoogle%2For-
tools%2Fissues%2Fnew%2Fchoose) to your account | |
Python_Threading_Schedule/busdriverschedulings_1605_0.txt | [ 303 , "08:04" , "09:29" , 484 , 569 , 85 ], | |
Python_Threading_Schedule/busdriverschedulings_221_0.txt | 253 | |
Python_Threading_Schedule/busdriverschedulings_1925_0.txt | [ 623 , "12:31" , "13:15" , 751 , 795 , 44 ], | |
Python_Threading_Schedule/busdriverschedulings_1250_0.txt | [ 150 , "17:36" , "18:21" , 1056 , 1101 , 45 ], | |
Python_Threading_Schedule/busdriverschedulings_105_0.txt | 137 | |
Python_Threading_Schedule/busdriverschedulings_720_0.txt | 752 | |
Python_Threading_Schedule/1722_120_0.txt | # Add arc
outgoing_literals[s].append(lit)
shared_outgoing_literals[s].append(lit)
incoming_literals[o].append(lit)
shared_incoming_literals[o].append(lit) | |
Python_Threading_Schedule/busdriverschedulings_1588_0.txt | [ 286 , "07:51" , "08:18" , 471 , 498 , 27 ], | |
Python_Threading_Schedule/busdriverschedulings_1490_0.txt | [ 188 , "06:50" , "07:05" , 410 , 425 , 15 ], | |
Python_Threading_Schedule/1722_46_0.txt | New issue | |
Python_Threading_Schedule/busdriverschedulings_825_0.txt | 857 | |
Python_Threading_Schedule/busdriverschedulings_1879_0.txt | [ 577 , "11:57" , "12:20" , 717 , 740 , 23 ], | |
Python_Threading_Schedule/busdriverschedulings_1547_0.txt | [ 245 , "07:24" , "08:05" , 444 , 485 , 41 ], | |
Python_Threading_Schedule/1722_79_0.txt | See: | |
Python_Threading_Schedule/busdriverschedulings_1395_0.txt | [ 93 , "05:50" , "06:51" , 350 , 411 , 61 ], | |
Python_Threading_Schedule/workflowyschedulingi_22_0.txt |
class WorkflowyScheduler(object):
workflowy_url = "https://workflowy.com"
browser = webdriver.Firefox() | |
Python_Threading_Schedule/workflowyschedulingi_35_0.txt |
if __name__ == "__main__":
WorkflowyScheduler.schedule_items_for_today() | |
Python_Threading_Schedule/busdriverschedulings_453_0.txt | 485 | |
Python_Threading_Schedule/busdriverschedulings_296_0.txt | 328 | |
Python_Threading_Schedule/busdriverschedulings_600_0.txt | 632 | |
Python_Threading_Schedule/busdriverschedulings_483_0.txt | 515 | |
Python_Threading_Schedule/busdriverschedulings_1433_0.txt | [ 131 , "06:15" , "07:15" , 375 , 435 , 60 ], | |
Python_Threading_Schedule/busdriverschedulings_515_0.txt | 547 | |
Python_Threading_Schedule/busdriverschedulings_1555_0.txt | [ 253 , "07:28" , "07:38" , 448 , 458 , 10 ], | |
Python_Threading_Schedule/busdriverschedulings_1743_0.txt | [ 441 , "09:49" , "10:43" , 589 , 643 , 54 ], | |
Python_Threading_Schedule/busdriverschedulings_1777_0.txt | [ 475 , "10:21" , "10:47" , 621 , 647 , 26 ], | |
Python_Threading_Schedule/busdriverschedulings_1749_0.txt | [ 447 , "09:55" , "10:34" , 595 , 634 , 39 ], | |
Python_Threading_Schedule/busdriverschedulings_1495_0.txt | [ 193 , "06:54" , "07:27" , 414 , 447 , 33 ], | |
Python_Threading_Schedule/busdriverschedulings_1629_0.txt | [ 327 , "08:20" , "09:05" , 500 , 545 , 45 ], | |
Python_Threading_Schedule/1722_0_0.txt | Skip to content | |
Python_Threading_Schedule/busdriverschedulings_769_0.txt | 801 | |
Python_Threading_Schedule/busdriverschedulings_303_0.txt | 335 | |
Python_Threading_Schedule/busdriverschedulings_1047_0.txt | # - shift duration in minutes | |
Python_Threading_Schedule/busdriverschedulings_1708_0.txt | [ 406 , "09:19" , "10:13" , 559 , 613 , 54 ], | |
Python_Threading_Schedule/busdriverschedulings_1534_0.txt | [ 232 , "07:17" , "07:58" , 437 , 478 , 41 ], | |
Python_Threading_Schedule/busdriverschedulings_11_0.txt | * [ Enterprise ](https://github.com/enterprise)
* [ Teams ](https://github.com/team)
* [ Startups ](https://github.com/enterprise/startups)
* [ Education ](https://education.github.com) | |
Python_Threading_Schedule/busdriverschedulings_1943_0.txt | [ 641 , "12:44" , "14:08" , 764 , 848 , 84 ], | |
Python_Threading_Schedule/busdriverschedulings_847_0.txt | 879 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.